WebFetchServerTool - Go SDK

WebFetchServerTool type definition

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

OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)

Fields

FieldTypeRequiredDescriptionExample
Parameters*components.WebFetchServerToolConfigConfiguration for the openrouter:web_fetch server tool{"max_content_tokens": 100000,"max_uses": 10}
Typecomponents.WebFetchServerToolType✔️N/A