OutputToolOptions
Defined in: packages/sdk/src/tools/define.ts:77
The options of outputTool().
Type Parameters
Section titled “Type Parameters”S
Properties
Section titled “Properties”description?
Section titled “description?”
readonlyoptionaldescription?:string
Defined in: packages/sdk/src/tools/define.ts:82
Defaults to a line asking the model to call the tool once, with its final answer.
readonlyname:string
Defined in: packages/sdk/src/tools/define.ts:78
schema
Section titled “schema”
readonlyschema:StandardSchemaV1<unknown,S> &StandardJSONSchemaV1<unknown,S>
Defined in: packages/sdk/src/tools/define.ts:80
The schema of the final answer. A Standard Schema that can describe itself as JSON Schema, such as Zod 4.2’s.
These docs are licensedCC BY 4.0. Thelicence text is in the repository.