export_curl
Turn a saved request (by name) or a history entry (by id) into a curl command for CI scripts and curl-only tools, keeping {{variables}} as placeholders so secrets are not written out.
Instructions
Turn a saved request (by name) or a history entry (by id) into a curl command, for CI scripts or tools that only speak curl. {{variables}} stay as placeholders, so no secret is written out.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_curl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| history_id | No | Or an id from get_history. | |
| saved_request | No | Name of a saved request. |