Fetch a URL
fetch_urlRetrieve the contents of a public HTTP or HTTPS URL and return the response body as text. Useful for reading web pages, JSON APIs, or other online resources.
Instructions
Fetch the contents of a public http(s) URL and return the response body as text (truncated to a safe length). Useful for reading web pages, JSON APIs, or other public HTTP resources. Only http and https URLs are allowed.
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": "fetch_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The http(s) URL to fetch. | |
| body | No | Optional request body, only used when method is POST. | |
| method | No | HTTP method to use. Defaults to GET. | GET |