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

Example Usage

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

let value: ChatToolCallFunction = {
  arguments: "<value>",
  name: "<value>",
};

Fields

FieldTypeRequiredDescription
argumentsstring:heavy_check_mark:Function arguments as JSON string
namestring:heavy_check_mark:Function name to call