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