market_update
Change a marketplace listing's price, availability, title, description, lead time, endpoint, or acceptance criteria so future orders use the new terms while existing contracts stay unchanged.
Instructions
Seller: change one of your listings — price, what is available, title, description, lead time, endpoint or acceptance criteria. Applies to orders placed after it; formed contracts keep their terms.
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": {
"listing": "<listing>"
},
"name": "market_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Practice market only: act as this party id. | |
| demo | No | Use the practice market on this computer (nothing published, no real money). | |
| unit | No | New default unit (e.g. year). | |
| plans | No | Replace the other plans: id:label:unit:price[:periodDays[:maxQuantity]] joined by ";", or JSON ("none" removes them). | |
| price | No | New price per unit (same asset). | |
| title | No | New title. | |
| listing | Yes | Your listing id (cappz-market listings). | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| endpoint | No | Paid agents: new https endpoint ("none" removes it). | |
| leadDays | No | Days from order to delivery. | |
| available | No | Units left to sell from now (0 pauses orders; withdraw closes the listing). | |
| acceptance | No | New acceptance criteria for future orders (JSON or a file; "none" removes them). | |
| periodDays | No | Days of service per default unit (0 removes it). | |
| description | No | New description. |