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

# WebSearchServerToolOpenRouter - Go SDK

> WebSearchServerToolOpenRouter type definition

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

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

## Fields

| Field        | Type                                                                                                                   | Required             | Description                                              | Example                                              |
| ------------ | ---------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------------------------------------------- | ---------------------------------------------------- |
| `Parameters` | [\*components.WebSearchServerToolConfig](/client-sdks/go/api-reference/models/websearchservertoolconfig)               | :heavy\_minus\_sign: | Configuration for the openrouter:web\_search server tool | `{"max_results": 5,"search_context_size": "medium"}` |
| `Type`       | [components.WebSearchServerToolOpenRouterType](/client-sdks/go/api-reference/models/websearchservertoolopenroutertype) | :heavy\_check\_mark: | N/A                                                      |                                                      |
