Skip to content

InferToolOutput

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

Defined in: node_modules/.bun/@ai-sdk+provider-utils@3.0.25+27912429049419a2/node_modules/@ai-sdk/provider-utils/dist/index.d.ts:809

Infer the output type of a tool.

TOOL extends Tool