Pay for and open IMD work
imd_orderPays from your configured wallet to open commissioned agent work once a pre-check passes; enforces IMD spend caps, blocks duplicates, and requires explicit confirmation.
Instructions
Pays from the configured wallet (x402 + Permit2 + quote approval) and opens the work. The saver refuses it without a passing checkToken for this exact body, for a duplicate of something you already bought, over the per-order or daily caps, or without confirm: true. SPENDS IMD.
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": {
"action": "<action>",
"input": "<input>",
"checkToken": "<checkToken>"
},
"name": "imd_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| title | No | Your own label for the order history | |
| action | Yes | ||
| confirm | No | true only after the user agreed to the cost | |
| checkToken | Yes | From imd_check / imd_draft for this exact body | |
| allowDuplicate | No |