TanStack

ToolInputAvailableEvent

Interface: ToolInputAvailableEvent

Defined in: packages/ai/src/types.ts:1403

Emitted when a client tool is invoked. The agent loop yields this and pauses to let the caller run the tool client-side — structured-output.complete will not fire for that run. Shape fixed by the agent-loop forwarding in runStreamingStructuredOutputImpl in activities/chat/index.ts.

Extends

Indexable

ts
[k: string]: unknown

Properties

model?

ts
optional model: string;

Defined in: packages/ai/src/types.ts:1339

Model identifier for multi-model support

Inherited from

CustomEvent.model


name

ts
name: "tool-input-available";

Defined in: packages/ai/src/types.ts:1404

Overrides

ts
CustomEvent.name

value

ts
value: object;

Defined in: packages/ai/src/types.ts:1405

input

ts
input: unknown;

toolCallId

ts
toolCallId: string;

toolName

ts
toolName: string;

Overrides

ts
CustomEvent.value