The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { MessagesRequestTool } from "@openrouter/sdk/models";
let value: MessagesRequestTool = {
type: "<value>",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | string | :heavy_check_mark: | N/A |
additionalProperties | Record<string, *any*> | :heavy_minus_sign: | N/A |