> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenResponsesWebSearch20250826Tool - Python SDK

> OpenResponsesWebSearch20250826Tool method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

Web search tool configuration (2025-08-26 version)

## Fields

| Field                 | Type                                                                                                                                   | Required             | Description                                     | Example                                                                                                                     |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `type`                | [components.OpenResponsesWebSearch20250826ToolType](/client-sdks/python/components/openresponseswebsearch20250826tooltype)             | :heavy\_check\_mark: | N/A                                             |                                                                                                                             |
| `filters`             | [OptionalNullable\[components.OpenResponsesWebSearch20250826ToolFilters\]](../components/openresponseswebsearch20250826toolfilters.md) | :heavy\_minus\_sign: | N/A                                             |                                                                                                                             |
| `search_context_size` | [Optional\[components.ResponsesSearchContextSize\]](../components/responsessearchcontextsize.md)                                       | :heavy\_minus\_sign: | Size of the search context for web search tools | medium                                                                                                                      |
| `user_location`       | [OptionalNullable\[components.ResponsesWebSearchUserLocation\]](../components/responseswebsearchuserlocation.md)                       | :heavy\_minus\_sign: | User location information for web search        | `{"type": "approximate","city": "San Francisco","country": "USA","region": "California","timezone": "America/Los_Angeles"}` |
