run_curl
Parses a curl command string, executes the HTTP request, and returns the response.
Instructions
解析并执行curl命令,返回HTTP请求结果
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": {
"curl": "<curl>"
},
"name": "run_curl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curl | Yes | curl命令字符串,例如:curl -X GET https://api.example.com/users |