Files
openrouter-python-sdk-retry…/docs/components/websearchservertoolopenrouter.mdx

13 lines
2.1 KiB
Plaintext

---
title: "WebSearchServerToolOpenRouter"
---
OpenRouter built-in server tool: searches the web for current information
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `parameters` | [Optional[components.WebSearchServerToolConfig]](../components/websearchservertoolconfig.mdx) | :heavy_minus_sign: | Configuration for the openrouter:web_search server tool | \{<br/>"max_results": 5,<br/>"search_context_size": "medium"<br/>} |
| `type` | [components.WebSearchServerToolOpenRouterType](../components/websearchservertoolopenroutertype.mdx) | :heavy_check_mark: | N/A | |