AnthropicCitationWebSearchResultLocation - TypeScript SDK

AnthropicCitationWebSearchResultLocation type definition

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

Example Usage

1import { AnthropicCitationWebSearchResultLocation } from "@openrouter/sdk/models";
2
3let value: AnthropicCitationWebSearchResultLocation = {
4 citedText: "Example cited text",
5 encryptedIndex: "enc_idx_0",
6 title: "Example Page",
7 type: "web_search_result_location",
8 url: "https://example.com",
9};

Fields

FieldTypeRequiredDescription
citedTextstring✔️N/A
encryptedIndexstring✔️N/A
titlestring✔️N/A
type”web_search_result_location”✔️N/A
urlstring✔️N/A