Skip to main content
A Chat SDK tool shaped for TanStack AI’s chat({ tools }). Structurally compatible with Tool / AnyTool from @tanstack/ai, so the array returned by createTanStackTools can be passed to chat() directly. Declared locally so chat/ai/tanstack has no runtime dependency on @tanstack/ai.

Properties

string
required
ZodType<TInput>
required
boolean
Record<string, unknown>
string
required
boolean

Methods

execute()

Parameters

TInput
required
unknown

Returns

Promise<TOutput>