escrow__open_escrow
Open a trustless escrow between payer and payee with amount in minor units. Platform fee is computed and frozen at open, with retry-safe idempotency via open_ref.
Instructions
[escrow — trustless escrow & settlement (exactly-once)] Open an escrow between payer and payee. amount_minor is a positive integer in minor units (cents). The platform fee is computed and FROZEN at open (ceil bps). Returns the escrow_id (state OPEN). RETRY-SAFE: pass open_ref= and a replayed open returns the ORIGINAL escrow (duplicate=true) instead of minting another one (E10).
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": {
"payer": "<payer>",
"payee": "<payee>",
"amount_minor": "<amount_minor>"
},
"name": "escrow__open_escrow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payee | Yes | ||
| payer | Yes | ||
| terms | No | ||
| fee_bps | No | ||
| currency | No | USD | |
| deadline | No | ||
| open_ref | No | ||
| amount_minor | Yes |