ToolChoiceTool - TypeScript SDK

ToolChoiceTool type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { ToolChoiceTool } from "@openrouter/sdk/models";
2
3let value: ToolChoiceTool = {
4 name: "<value>",
5 type: "tool",
6};

Fields

FieldTypeRequiredDescription
disableParallelToolUsebooleanN/A
namestring✔️N/A
type”tool”✔️N/A