AgentRunHandle
AgentRunHandle<
Tools,TOutput> =object
Defined in: packages/core/src/agent/types.ts:70
Handle returned from agent.run — await result or call cancel() without passing AbortSignal in input.
Type Parameters
Section titled “Type Parameters”Tools extends ToolSet = ToolSet
TOutput
Section titled “TOutput”TOutput = unknown
Properties
Section titled “Properties”agentCallId
Section titled “agentCallId”agentCallId:
string
Defined in: packages/core/src/agent/types.ts:72
Stable id for this agent episode; available before agent_started is emitted.
cancel
Section titled “cancel”cancel: () =>
void
Defined in: packages/core/src/agent/types.ts:74
Returns
Section titled “Returns”void
result
Section titled “result”result:
Promise<AgentRunResult<Tools,TOutput>>
Defined in: packages/core/src/agent/types.ts:73