Skip to content

agentHandler

agentHandler(params): (context, event) => Promise<void>

Defined in: .build/typescript/packages/workflow/src/agent/agent-handler.ts:74

Add an agent handler to the workflow

Omit<StepHandlerParams, "workflowContext">

Parameters for the agent handler

A function that handles a workflow step

(context, event): Promise<void>

WorkflowContext

WorkflowEventData<unknown>

Promise<void>