export_curl
Rebuild captured requests into runnable curl commands to replay or share API calls without re-deriving headers. Works when network capture with bodies is enabled.
Instructions
Rebuild a captured request as a runnable curl command, so you can replay or share an API call without re-deriving its headers. Needs network_start(capture_bodies=true) — headers are not recorded otherwise.
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 |
|---|---|---|---|
| id | No | Or pick by the id shown in network_get. | |
| redact | No | Replace Cookie/Authorization values with placeholders. | |
| url_contains | No | Pick the most recent captured request whose URL contains this. |