Skip to content

InferToolOutput

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

Defined in: node_modules/.bun/@[email protected]+bca6845d7a0cc15a/node_modules/@ai-sdk/provider-utils/dist/index.d.ts:809

Infer the output type of a tool.

TOOL extends Tool