The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OutputFileSearchServerToolItem } from "@openrouter/sdk/models";
let value: OutputFileSearchServerToolItem = {
status: "completed",
type: "openrouter:file_search",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | :heavy_minus_sign: | N/A | |
queries | string[] | :heavy_minus_sign: | N/A | |
status | models.ToolCallStatus | :heavy_check_mark: | N/A | completed |
type | models.OutputFileSearchServerToolItemType | :heavy_check_mark: | N/A |