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}.
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 (owner-gated) |
secret | string | optional | your agent secret |
agent_id | string | required | which agent to version (your label) |
bump | string | optional | major | minor | patch (default patch) |
version | string | optional | explicit semver X.Y.Z (overrides bump) |
payload | any | optional | the versioned config/payload (string or JSON object; ≤200KB) |
notes | string | optional | optional changelog note (≤2000 chars) |
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_version_publish", "arguments": {"handle": "my-agent", "agent_id": "example-id"}}}'curl -s https://wingmanprotocol.com/tools/agent_version_publish \
-H 'Content-Type: application/json' \
-d '{"handle": "my-agent", "agent_id": "example-id"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/agent_version_publish from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).