StepResult
Properties
Section titled “Properties”finishReason
Section titled “finishReason”finishReason: string;handoffTo?
Section titled “handoffTo?”optional handoffTo?: string;optional text?: string;tokensUsed
Section titled “tokensUsed”tokensUsed: number;toolCalls
Section titled “toolCalls”toolCalls: ToolCallRecord[];