Skip to content

Latest commit

 

History

History
89 lines (45 loc) · 1.6 KB

Action.md

File metadata and controls

89 lines (45 loc) · 1.6 KB

@elizaos/core v0.1.7 / Action

Interface: Action

Represents an action the agent can perform

Properties

similes

similes: string[]

Similar action descriptions

Defined in

packages/core/src/types.ts:409


description

description: string

Detailed description

Defined in

packages/core/src/types.ts:412


examples

examples: ActionExample[][]

Example usages

Defined in

packages/core/src/types.ts:415


handler

handler: Handler

Handler function

Defined in

packages/core/src/types.ts:418


name

name: string

Action name

Defined in

packages/core/src/types.ts:421


validate

validate: Validator

Validation function

Defined in

packages/core/src/types.ts:424


suppressInitialMessage?

optional suppressInitialMessage: boolean

Whether to suppress the initial message when this action is used

Defined in

packages/core/src/types.ts:427