Close a fulfilled commitment
close_commitmentCloses a fulfilled commitment (settled -> finalized) when the caller (verified by EIP-712 proof) holds system or authority authorization. Nonfinancial � no settlement, escrow release, or refund is executed. Reconciles authoritative state first. Idempotent via idempotencyRef.
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": "close_commitment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The caller's role (close requires system or authority) | |
| proof | Yes | EIP-712 AuthorityProof signed by the caller (issuer = signer) | |
| agentId | Yes | The caller's durable agent identifier | |
| commitmentId | Yes | The commitment id | |
| idempotencyRef | No | Caller-scoped idempotency reference |