> ## 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.

# OpenRouterWebSearchServerTool - Go SDK

> OpenRouterWebSearchServerTool 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.WebSearchConfig](/client-sdks/go/api-reference/models/websearchconfig)                                   | :heavy\_minus\_sign: | N/A         | `{"max_results": 5,"search_context_size": "medium"}` |
| `Type`       | [components.OpenRouterWebSearchServerToolType](/client-sdks/go/api-reference/models/openrouterwebsearchservertooltype) | :heavy\_check\_mark: | N/A         |                                                      |
