Example Usage
import { ServerToolNativeModel } from "@openrouter/sdk/models";
let value: ServerToolNativeModel = {
providers: [
"Anthropic",
"Google",
],
slug: "anthropic/claude-4.5-sonnet",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
providers | string[] | :heavy_check_mark: | N/A | [ “Anthropic”, “Google” ] |
slug | string | :heavy_check_mark: | N/A | anthropic/claude-4.5-sonnet |