Commit Work Session
commit_work_sessionAtomically finalise a work session: create accounts + transactions + rules and apply the template in a single DB transaction (all-or-nothing). Idempotent on an already-committed session. Requires confirmation: true to execute.
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": {
"sessionId": "<sessionId>",
"confirmation": "<confirmation>"
},
"name": "commit_work_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | WorkSession id | |
| confirmation | Yes | Must be true to execute the mutation |