WebSearchServerToolOpenRouter - Go SDK

WebSearchServerToolOpenRouter type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

OpenRouter built-in server tool: searches the web for current information

Fields

FieldTypeRequiredDescriptionExample
Parameters*components.WebSearchServerToolConfigConfiguration for the openrouter:web_search server tool{"max_results": 5,"search_context_size": "medium"}
Typecomponents.WebSearchServerToolOpenRouterType✔️N/A