http_get
Fetch a URL and return its text, JSON, or XML response body for reading endpoints or inspecting error pages. Use for content retrieval, not status or latency checks.
Instructions
GET a URL and return the response body (text/JSON/XML only, capped at max_bytes, hard cap 1 MiB).
Use this to read a JSON endpoint or inspect an error page. For status/latency only, use http_check instead.
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": "http_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| timeout | No | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |