Close a fulfilled commitment
close_commitmentFinalizes a settled commitment with active system authorization and finalize scope. No settlement, escrow release, or refund. Supply the original idempotencyRef to replay the same authorized close.
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; the transition RPC requires system to finalize | |
| 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 |