콘텐츠로 이동

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.