WebFetchServerTool - Python SDK

WebFetchServerTool method reference

The Python 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
parametersOptional[components.WebFetchServerToolConfig]Configuration for the openrouter:web_fetch server tool{"max_content_tokens": 100000,"max_uses": 10}
typecomponents.WebFetchServerToolType✔️N/A