ChatStreamToolCallFunction - TypeScript SDK

ChatStreamToolCallFunction type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Function call details

Example Usage

1import { ChatStreamToolCallFunction } from "@openrouter/sdk/models";
2
3let value: ChatStreamToolCallFunction = {};

Fields

FieldTypeRequiredDescriptionExample
argumentsstringâž–Function arguments as JSON string{"location": "..."}
namestringâž–Function nameget_weather