Skip to content

ToolChoice

type ToolChoice =
| "auto"
| "none"
| "required"
| {
name: string;
};

Defined in: core/src/types.ts:220

Pin or deny tool use. { name } forces one specific tool, so a run is made to commit an answer at its step budget’s edge.