Skip to content

InferToolOutput

InferToolOutput<TOOL> = TOOL extends Tool<any, infer OUTPUT, any> ? OUTPUT : never

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

Infer the output type of a tool.

TOOL extends Tool<any, any, any>