Skip to content

InferToolInput

InferToolInput<TOOL> = TOOL extends Tool<infer INPUT, any, any> ? INPUT : never

Defined in: node_modules/.bun/@ai-sdk+provider-utils@5.0.53+bca6845d7a0cc15a/node_modules/@ai-sdk/provider-utils/dist/index.d.ts:2861

Infer the input type of a tool.

TOOL extends Tool<any, any, any>