Fetch API
fetch-apiSend HTTP GET, POST, PUT, or DELETE requests to external APIs and return responses, including optional headers and request bodies for integrations and data retrieval.
Instructions
Makes HTTP requests to external APIs and returns the response.
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": "fetch-api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch | |
| body | No | Optional request body (for POST/PUT) | |
| method | No | HTTP method | GET |
| headers | No | Optional HTTP headers |