http_request
Make arbitrary HTTP requests to JSON APIs and retrieve raw responses for direct data exchange with web services.
Instructions
Make an arbitrary HTTP request and return the raw response.
Use this for JSON APIs. For reading web pages prefer fetch_url, which strips navigation and boilerplate.
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_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| method | No | GET | |
| headers | No | ||
| max_chars | No |