close_month
Closes the first open month permanently after your explicit confirmation. Validates the draft stateHash and returns the closed month, new queue and next step.
Instructions
Closes the first open month, whole and for good (the family can undo only the last closing from the site): call it only after the user's explicit "close". Pass month and the stateHash from the most recent get_month_draft or commit answer, i.e. the one the user saw. advisor.draft_stale means the draft or the spending changed since: read get_month_draft again and show the user the new totals before asking again. month_out_of_order means that month is not the first open one; month_has_problems lists the accounts or loans still missing figures. Answers the closed month, the new queue and nextStep.
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": {
"month": "<month>",
"stateHash": "<stateHash>"
},
"name": "close_month"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | Yes | The month to close, YYYY-MM: the first of the queue | |
| stateHash | Yes | The stateHash of the draft the user saw |