update_listing
Modify price, endpoint, or max latency on a published Swarmwage capability. Requires a wallet.
Instructions
Alias of publish_listing — same idempotent upsert. Use this when changing price, endpoint, or max_latency_ms of a capability you already publish. Requires a wallet.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"capability": "<capability>",
"price_usdc": "<price_usdc>",
"endpoint": "<endpoint>",
"max_latency_ms": "<max_latency_ms>"
},
"name": "update_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capability | Yes | ||
| price_usdc | Yes | ||
| endpoint | Yes | ||
| max_latency_ms | Yes | ||
| first_call_free | No | ||
| currency | No | ||
| chain | No | Settlement chain for this listing. Only 'base' (Base mainnet) is accepted by the public registry. |