ChatToolCallFunction - TypeScript SDK

ChatToolCallFunction type definition

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

Example Usage

1import { ChatToolCallFunction } from "@openrouter/sdk/models";
2
3let value: ChatToolCallFunction = {
4 arguments: "<value>",
5 name: "<value>",
6};

Fields

FieldTypeRequiredDescription
argumentsstring✔️Function arguments as JSON string
namestring✔️Function name to call