> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendai.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Action

> Documentation for Action

[**solana-agent-kit v1.3.7**](../README.md)

***

[solana-agent-kit](../README.md) / Action

# Interface: Action

Defined in: [types/index.ts:125](https://github.com/sendaifun/solana-agent-kit/blob/6acfa958180602da3c2d2ac883bf660ca90dba2f/src/types/index.ts#L125)

Main Action interface inspired by ELIZA
This interface makes it easier to implement actions across different frameworks

## Properties

### name

> **name**: `string`

Defined in: [types/index.ts:129](https://github.com/sendaifun/solana-agent-kit/blob/6acfa958180602da3c2d2ac883bf660ca90dba2f/src/types/index.ts#L129)

Unique name of the action

***

### similes

> **similes**: `string`\[]

Defined in: [types/index.ts:134](https://github.com/sendaifun/solana-agent-kit/blob/6acfa958180602da3c2d2ac883bf660ca90dba2f/src/types/index.ts#L134)

Alternative names/phrases that can trigger this action

***

### description

> **description**: `string`

Defined in: [types/index.ts:139](https://github.com/sendaifun/solana-agent-kit/blob/6acfa958180602da3c2d2ac883bf660ca90dba2f/src/types/index.ts#L139)

Detailed description of what the action does

***

### examples

> **examples**: [`ActionExample`](ActionExample.md)\[]\[]

Defined in: [types/index.ts:145](https://github.com/sendaifun/solana-agent-kit/blob/6acfa958180602da3c2d2ac883bf660ca90dba2f/src/types/index.ts#L145)

Array of example inputs and outputs for the action
Each inner array represents a group of related examples

***

### schema

> **schema**: `ZodType`

Defined in: [types/index.ts:150](https://github.com/sendaifun/solana-agent-kit/blob/6acfa958180602da3c2d2ac883bf660ca90dba2f/src/types/index.ts#L150)

Zod schema for input validation

***

### handler

> **handler**: [`Handler`](../type-aliases/Handler.md)

Defined in: [types/index.ts:155](https://github.com/sendaifun/solana-agent-kit/blob/6acfa958180602da3c2d2ac883bf660ca90dba2f/src/types/index.ts#L155)

Function that executes the action
