Http Request
http_requestSend a single HTTP request to REST endpoints and return status and body, enabling real-time API exploration, debugging, and validation without writing test code.
Instructions
Make a single HTTP request. Returns status and body only by default.
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": {
"method": "<method>",
"url": "<url>"
},
"name": "http_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target URL | |
| body | No | Request body | |
| method | Yes | HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD) | |
| params | No | Query parameters | |
| headers | No | HTTP headers | |
| timeout | No | Timeout in seconds | |
| include_headers | No | Include response headers in output |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Response body | |
| status | Yes | HTTP status code | |
| headers | No | Response headers |