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

Example Usage

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

let value: AnthropicWebSearchToolUserLocation = {
  type: "approximate",
};

Fields

FieldTypeRequiredDescription
citystring:heavy_minus_sign:N/A
countrystring:heavy_minus_sign:N/A
regionstring:heavy_minus_sign:N/A
timezonestring:heavy_minus_sign:N/A
typemodels.AnthropicWebSearchToolUserLocationType:heavy_check_mark:N/A