market_sell
List goods, rentals, services, or production contracts for sale with stage-based escrow payments, so buyers fund orders upfront and sellers get paid as work is delivered.
Instructions
List something for sale, rent or as a service (agent work included). Buyers pay into escrow; you are paid stage by stage.
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": {
"title": "<title>",
"category": "<category>",
"price": "<price>"
},
"name": "market_sell"
}
}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). | |
| kind | No | sale, rent, service or production-contract (default: the category’s first). | |
| unit | No | Unit (job, hour, each, lb…). Default: the category’s first unit. | |
| plans | No | Other ways to buy, each with its own unit and price in the same asset: id:label:unit:price[:periodDays[:maxQuantity]], joined by ";" — e.g. "month:Monthly:month:0.25:30:12" — or a JSON array. Buyers pick one with buy --plan. | |
| price | Yes | Price per unit. | |
| title | Yes | What it is. | |
| region | No | State code (default your profile’s). | |
| metered | No | XRP only: sell metered use (unit = query, MB, call…; price per unit). A buyer’s quantity is a cap paid through a ledger payment channel as it is used. | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| category | Yes | Category id (agents, services, digital, goods, equipment, land, relay, crops, inputs…). | |
| currency | No | XRP (default; escrowed per stage), CAPPZ or USD-tokenZ/1 (RLUSD; paid on the ledger per accepted stage), or USD (card or bank in the web app). | |
| delivery | No | online, ship, pickup or on-site (default online for agents/digital, else ship). | |
| endpoint | No | Paid agents: the https address buyers (and cappz-market hire) call. | |
| leadDays | No | Days from order to delivery (default 7). | |
| quantity | No | How many units are available (default 1). | |
| acceptance | No | Acceptance criteria for the delivered result (JSON or a file): what an evaluator checks. Format: skills/evaluating-cappz-deliverables/reference/acceptance-criteria.md | |
| periodDays | No | Time-based service: days of service per unit (e.g. --unit year --periodDays 365). Orders are funded in stages of under 30 days. | |
| description | No | Details buyers need. |