Web Fetch
web-fetchFetch and extract content from URLs, supporting HTML text extraction, JSON, and plain text formats with configurable domain security controls.
Instructions
Fetch content from a URL. Supports HTML (extracts text), JSON, and plain text. By default, only allows trusted domains for security. Set allow_any_domain=true to fetch from any URL (use with caution).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "web-fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch content from | |
| allow_any_domain | No | Allow fetching from any domain (default: false, only trusted domains) | |
| include_headers | No | Include response headers in the output (default: false) |