execute_api
Execute any API endpoint by specifying the API name, HTTP method, and path, with optional query parameters, headers, and body data.
Instructions
Execute any API endpoint with custom parameters
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": {
"api_name": "<api_name>",
"method": "<method>",
"path": "<path>"
},
"name": "execute_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Request body data | |
| path | Yes | API endpoint path | |
| method | Yes | ||
| params | No | Query parameters | |
| headers | No | Additional headers | |
| api_name | Yes | Name of the API |