util_curl_convert
curl to code converter — Convert a curl command into ready-to-run JavaScript (fetch), Python (requests) and Go (net/http) code. Offline parser handles quotes, line continuations, -X, -H, -d/--data-raw/--data-urlencode, --json, -F forms and file uploads, -u basic auth, -G, -L, -k, --max-time, cookies, user agent and combined flags like -sSL. Returns the parsed request, code per language, ignored options, and a warning when the command contains credentials. Params: curl (required), lang (all|javascript|python|go, default all). Price: $0.002 USDC (Base, via x402).
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": "util_curl_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curl | Yes | curl -X POST https://api.example.com/items -H Content-Type:application/json -d {name:widget} |