dry_run
Runs an exposed or agent-created macro in dry-run mode, simulating steps that are not dry-run safe, with no approval needed.
Details #
A dry run walks the macro and simulates every step that is not marked dry-run safe. Nothing outside Switchboard changes. It is the way for an agent to test a macro it just made with create_macro, which stays disabled until you review it.
{ "jsonrpc": "2.0", "id": 4, "method": "tools/call",
"params": { "name": "dry_run", "arguments": { "id": "m_4f2a9c", "inputs": { "key": "DAY-412" } } } }
{
"runId": "r_91c0d4",
"status": "succeeded",
"dryRun": true,
"macro": "Paste ticket as title",
"steps": [{ "id": "s1", "status": "simulated" }]
}
Gotchas #
Dry runs still count against the 60-runs-a-minute limit.
A dry run does not return a
returnedvalue.