Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Function call details

Example Usage

import { ChatStreamToolCallFunction } from "@openrouter/sdk/models";

let value: ChatStreamToolCallFunction = {};

Fields

FieldTypeRequiredDescriptionExample
argumentsstring:heavy_minus_sign:Function arguments as JSON string{"location": "..."}
namestring:heavy_minus_sign:Function nameget_weather