The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { ChatStreamToolCallFunction } from "@openrouter/sdk/models";
let value: ChatStreamToolCallFunction = {};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
arguments | string | :heavy_minus_sign: | Function arguments as JSON string | {"location": "..."} |
name | string | :heavy_minus_sign: | Function name | get_weather |