OutputWebSearchCallItem - TypeScript SDK

OutputWebSearchCallItem type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { OutputWebSearchCallItem } from "@openrouter/sdk/models";
2
3let value: OutputWebSearchCallItem = {
4 action: {
5 pattern: "<value>",
6 type: "find_in_page",
7 url: "https://faraway-deduction.net",
8 },
9 id: "ws-abc123",
10 status: "completed",
11 type: "web_search_call",
12};

Fields

FieldTypeRequiredDescriptionExample
actionmodels.Action✔️N/A
idstring✔️N/A
statusmodels.WebSearchStatus✔️N/Acompleted
typemodels.TypeWebSearchCall✔️N/A