execute_curl
Executes curl command strings to send HTTP requests with custom methods, headers, authentication, and bodies, then returns the full response with status, headers, and body.
Instructions
Parse and execute a curl command string. Supports common curl options including -X (method), -H (headers), -d/--data (body), -u/--user (basic auth). Returns the full HTTP response including status, 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": {
"curlCommand": "<curlCommand>"
},
"name": "execute_curl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curlCommand | Yes | The curl command to execute (e.g., curl -X POST https://api.example.com/data -H "Content-Type: application/json" -d '{"key":"value"}') |