StepHandlerParams
StepHandlerParams =
object
Defined in: .build/typescript/packages/workflow/src/agent/function-agent.ts:49
Properties
Section titled “Properties”workflowContext
Section titled “workflowContext”workflowContext:
WorkflowContext
Defined in: .build/typescript/packages/workflow/src/agent/function-agent.ts:53
Workflow context
instructions
Section titled “instructions”instructions:
string
Defined in: .build/typescript/packages/workflow/src/agent/function-agent.ts:57
User instructions to guide the agent to handle the step.
results
Section titled “results”results:
ZodEvent
[]
Defined in: .build/typescript/packages/workflow/src/agent/function-agent.ts:61
Event that this agent will return
events?
Section titled “events?”
optional
events:ZodEvent
[]
Defined in: .build/typescript/packages/workflow/src/agent/function-agent.ts:65
List of additional events that the agent can emit
optional
llm:ToolCallLLM
Defined in: .build/typescript/packages/workflow/src/agent/function-agent.ts:69
LLM to use for the agent, required.
tools?
Section titled “tools?”
optional
tools:BaseToolWithCall
[]
Defined in: .build/typescript/packages/workflow/src/agent/function-agent.ts:73
List of tools that the agent can use