The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OpenAIResponsesToolChoice } from "@openrouter/sdk/models";
let value: OpenAIResponsesToolChoice = {
type: "web_search_preview",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | models.Type | :heavy_check_mark: | N/A |