Skip to content

ToolInvocation

Defined in: types.ts:117

Tool invocation with result.

args: Record<string, unknown>

Defined in: types.ts:123

Tool arguments


optional result: unknown

Defined in: types.ts:125

Tool result


state: "pending" | "completed" | "error"

Defined in: types.ts:127

Invocation state


toolCallId: string

Defined in: types.ts:119

Tool call ID


toolName: string

Defined in: types.ts:121

Tool name