Skip to content

OutputToolOptions

Defined in: packages/sdk/src/tools/define.ts:77

The options of outputTool().

S

readonly optional description?: 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.


readonly name: string

Defined in: packages/sdk/src/tools/define.ts:78


readonly schema: 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.