Copy as Markdown[View as Markdown](/docs/sdk/type-aliases/FlowAgentStepInput.md)

***

# Type Alias: FlowAgentStepInput

> **FlowAgentStepInput**: [`FlowStepInput`](/docs/sdk/type-aliases/FlowStepInput.md) & `object`

Defined in: flow-builder.ts:43

Payload for a flow step that references an agent.

## Type declaration[​](#type-declaration "Direct link to Type declaration")

### agent?[​](#agent "Direct link to agent?")

> `optional` **agent**: `object`

#### agent.id[​](#agentid "Direct link to agent.id")

> **id**: `string`

#### agent.version?[​](#agentversion "Direct link to agent.version?")

> `optional` **version**: `string`

### version?[​](#version "Direct link to version?")

> `optional` **version**: `string`
