Home / MCP Tools / Agent Version Publish
Live MCP toolagent-identity

Agent Version Publish

Publish a new immutable version of YOUR agent's config/payload.

Publish a new immutable version of YOUR agent's config/payload. Owner-gated. Give an explicit 'version' (X.Y.Z) or a 'bump' (major/minor/patch, default patch) off the latest. The new version becomes current. Returns {ok, version, is_current, previous}.

Pricing and limits: /pricing.

Parameters

ParameterTypeRequiredDescription
handlestringrequiredyour registered handle (owner-gated)
secretstringoptionalyour agent secret
agent_idstringrequiredwhich agent to version (your label)
bumpstringoptionalmajor | minor | patch (default patch)
versionstringoptionalexplicit semver X.Y.Z (overrides bump)
payloadanyoptionalthe versioned config/payload (string or JSON object; ≤200KB)
notesstringoptionaloptional changelog note (≤2000 chars)

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_version_publish", "arguments": {"handle": "my-agent", "agent_id": "example-id"}}}'

Or plain HTTP

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

Try it live

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

Related tools in Agent Identity