---
title: "AnthropicWebSearchToolUserLocation"
---

## Fields

| Field                                                                                                        | Type                                                                                                         | Required                                                                                                     | Description                                                                                                  |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `city`                                                                                                       | *OptionalNullable[str]*                                                                                      | :heavy_minus_sign:                                                                                           | N/A                                                                                                          |
| `country`                                                                                                    | *OptionalNullable[str]*                                                                                      | :heavy_minus_sign:                                                                                           | N/A                                                                                                          |
| `region`                                                                                                     | *OptionalNullable[str]*                                                                                      | :heavy_minus_sign:                                                                                           | N/A                                                                                                          |
| `timezone`                                                                                                   | *OptionalNullable[str]*                                                                                      | :heavy_minus_sign:                                                                                           | N/A                                                                                                          |
| `type`                                                                                                       | [components.AnthropicWebSearchToolUserLocationType](../components/anthropicwebsearchtooluserlocationtype.mdx) | :heavy_check_mark:                                                                                           | N/A                                                                                                          |