コンテンツにスキップ

ToolOutputSchema

このコンテンツはまだ日本語訳がありません。

type ToolOutputSchema = ZodObjectLike | JsonObjectSchema<any>;

A schema describing the JSON object encoded in a function tool output.

Zod schemas are converted to JSON Schema when the tool is created. Plain JSON Schema objects are passed through unchanged.