ChatNamedToolChoice - TypeScript SDK
ChatNamedToolChoice type definition
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ChatNamedToolChoice type definition
import { ChatNamedToolChoice } from "@openrouter/sdk/models";
let value: ChatNamedToolChoice = {
function: {
name: "get_weather",
},
type: "function",
};
| Field | Type | Required | Description |
|---|---|---|---|
function | models.ChatNamedToolChoiceFunction | :heavy_check_mark: | N/A |
type | models.ChatNamedToolChoiceType | :heavy_check_mark: | N/A |