Cancel a commitment
cancel_commitmentCancels an issued or accepted commitment under an active buyer authorization with cancel scope. Nonfinancial: no rail cancellation, refund or settlement. Supply the same idempotencyRef for a retry.
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": {
"commitmentId": "<commitmentId>",
"agentId": "<agentId>",
"role": "<role>",
"proof": "<proof>"
},
"name": "cancel_commitment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The caller's role; the transition RPC requires buyer for cancellation | |
| proof | Yes | EIP-712 AuthorityProof signed by the caller (issuer = signer) | |
| reason | No | Cancellation reason (recorded as authority reference) | |
| agentId | Yes | The caller's durable agent identifier | |
| commitmentId | Yes | The commitment id | |
| idempotencyRef | No | Caller-scoped idempotency reference |