Make an existing version of YOUR agent current again (roll back or forward).
Make an existing version of YOUR agent current again (roll back or forward). Owner-gated, idempotent. Returns {ok, current_version, payload}.
Metered access — free-key quota or x402 pay-per-call (USDC on Base). Details at /pricing.
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | required | your registered handle |
secret | string | optional | your agent secret |
agent_id | string | required | which agent to roll |
to_version | string | required | the semver X.Y.Z to make current |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "agent_rollback", "arguments": {"handle": "my-agent", "agent_id": "example-id", "to_version": "example"}}}'curl -s https://wingmanprotocol.com/tools/agent_rollback \
-H 'Content-Type: application/json' \
-d '{"handle": "my-agent", "agent_id": "example-id", "to_version": "example"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/agent_rollback from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).