commit
Finalize a MACP decision session with a binding resolution, closing it to further messages. Use it to record the approved or rejected action, authority scope, and reason.
Instructions
Resolve the session with a binding Commitment (normally the initiator).
After this the session is RESOLVED and accepts no further messages.
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>",
"action": "<action>",
"authority_scope": "<authority_scope>",
"reason": "<reason>"
},
"name": "commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The decided action, e.g. 'deployment.approved'. | |
| reason | Yes | Why, e.g. which proposal won the vote. | |
| session_id | Yes | The MACP session id (from start_session). | |
| authority_scope | Yes | The scope of authority the decision binds, e.g. 'release'. | |
| outcome_positive | No | False when the decision is a rejection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| sender | Yes | ||
| duplicate | Yes | ||
| message_id | Yes | ||
| session_id | Yes | ||
| session_state | Yes |