Home / MCP Tools / Agent Rollback
Live MCP toolagent-identity

Agent Rollback

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}.

Pricing and limits: /pricing.

Parameters

ParameterTypeRequiredDescription
handlestringrequiredyour registered handle
secretstringoptionalyour agent secret
agent_idstringrequiredwhich agent to roll
to_versionstringrequiredthe semver X.Y.Z to make current

Call it over MCP (JSON-RPC 2.0)

curl -s https://agent.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"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/agent_rollback \
  -H 'Content-Type: application/json' \
  -d '{"handle": "my-agent", "agent_id": "example-id", "to_version": "example"}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/agent_rollback from your browser.

Related tools in Agent Identity