get_commitment
Retrieve the binding Commitment payload and its recomputable hash for a resolved MACP session; returns found=false while the session is still open.
Instructions
Return a resolved session's binding Commitment and its RFC-MACP-0013 hash.
found is false while the session is still open. payload_b64 is the exact
Commitment payload bytes the runtime recorded; commitment_hash is computed over them.
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": {
"session_id": "<session_id>"
},
"name": "get_commitment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The MACP session id (from start_session). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| state | Yes | ||
| sender | No | ||
| commitment | No | ||
| hash_label | No | ||
| message_id | No | ||
| session_id | Yes | ||
| payload_b64 | No | ||
| commitment_hash | No |