HTTP Request
http-requestIssues an arbitrary HTTP request - any method, your own headers and body - and returns the full response including headers a browser would hide. Requests to private and loopback address ranges are refused. Costs 2 credits per call.
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 | Absolute http or https URL to request. | |
| body | No | Request body, sent as-is for methods that allow one. | |
| method | No | HTTP method. Defaults to GET. | GET |
| headers | No | Request headers as a JSON object, or the same object encoded as a string. Example: {"Accept":"application/json"}. |