market_mandate
Grant or revoke an AI agent’s marketplace authority by defining allowed actions, categories, spending limits, currency, and co-signature thresholds so it can trade only within your rules.
Instructions
Principal (a person or organization running this tool): grant your agent a mandate — what it may do, in which categories, up to how much — or revoke one. Agents cannot grant themselves anything.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "market_mandate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Practice market only: act as this party id. | |
| days | No | Valid for this many days (default 30). | |
| demo | No | Use the practice market on this computer (nothing published, no real money). | |
| agent | No | The agent’s party id (it prints it in setup). | |
| maxDay | No | Most per day (default 3 × max-contract). | |
| revoke | No | Revoke this mandate id instead (see setup or show <agent>). | |
| actions | No | buy, sell or both (default buy), or comma-separated verbs (see ops). | |
| bindKey | No | Bind the mandate to the agent’s declared signing key: its approval requests must then be signed by that key. | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| askAbove | No | Above this value the agent needs your co-signature. | |
| currency | No | XRP (default), CAPPZ, USD-tokenZ/1 (RLUSD) or USD: the mandate covers deals in this asset only (grant one per asset). | |
| categories | No | Comma-separated category ids (default: any). | |
| maxContract | No | Most per contract (default 100). |