The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ToolChoiceAllowedType } from "@openrouter/sdk/models";
let value: ToolChoiceAllowedType = "allowed_tools";
Values
"allowed_tools"
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ToolChoiceAllowedType type definition
import { ToolChoiceAllowedType } from "@openrouter/sdk/models";
let value: ToolChoiceAllowedType = "allowed_tools";
"allowed_tools"