TypeScript SDKAPI ReferenceModelsChatNamedToolChoiceFunction - TypeScript SDKCopy pageChatNamedToolChoiceFunction type definitionThe TypeScript SDK and docs are currently in beta. Report issues on GitHub. Example Usage 1import { ChatNamedToolChoiceFunction } from "@openrouter/sdk/models";23let value: ChatNamedToolChoiceFunction = {4 name: "get_weather",5}; Fields FieldTypeRequiredDescriptionExamplenamestring✔️Function name to callget_weather