Skip to main content

Interface: Action

Represents an action that the agent can perform, including conditions for its use, a description, examples, a handler function, and a validation function.

Properties

description

description: string

Defined in

packages/core/src/types.ts:216


examples

examples: ActionExample[][]

Defined in

packages/core/src/types.ts:217


handler

handler: Handler

Defined in

packages/core/src/types.ts:218


name

name: string

Defined in

packages/core/src/types.ts:219


similes

similes: string[]

Defined in

packages/core/src/types.ts:215


validate

validate: Validator

Defined in

packages/core/src/types.ts:220