The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OutputWebSearchServerToolItemSource } from "@openrouter/sdk/models";
let value: OutputWebSearchServerToolItemSource = {
type: "url",
url: "https://immense-vista.com/",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type | models.OutputWebSearchServerToolItemTypeURL | :heavy_check_mark: | N/A |
url | string | :heavy_check_mark: | N/A |