Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { AnthropicWebSearchResultBlockParam } from "@openrouter/sdk/models";

let value: AnthropicWebSearchResultBlockParam = {
  encryptedContent: "enc_content_0",
  title: "Example Page",
  type: "web_search_result",
  url: "https://example.com",
};

Fields

FieldTypeRequiredDescription
encryptedContentstring:heavy_check_mark:N/A
pageAgestring:heavy_minus_sign:N/A
titlestring:heavy_check_mark:N/A
typemodels.AnthropicWebSearchResultBlockParamType:heavy_check_mark:N/A
urlstring:heavy_check_mark:N/A