convert_curl_to_fetch
Converts raw Bash cURL commands into ready-to-use fetch, axios, or Python requests snippets with auth headers, simplifying API client migration.
Instructions
Parses raw Bash cURL commands and automatically generates modern native fetch(), axios, or python requests snippets with auth headers. (0.005 USDC on Base L2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |