http_request
Send HTTP requests to any URL with custom method, headers, body, and timeout. Supports GET, POST, PUT, DELETE, PATCH.
Instructions
Make HTTP request with custom headers and body.
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 | Target URL | |
| method | No | HTTP method (GET, POST, PUT, DELETE, PATCH) | GET |
| headers | No | JSON string of headers | {} |
| body | No | Request body (for POST/PUT/PATCH) | |
| timeout | No | Request timeout in seconds (default: 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |