Ask to lock a period
close_requestLock a period (YYYY-MM). Its release is asked for at once: under My AI decides with the owner's switch AI sets lock dates on (the default) it is locked now, against the checklist as it stands; otherwise it waits on the approval page. Refused while the lock of that period already waits. up_to=true asks for every open month up to and including period in one go, empty months too (a lock date), each released oldest to newest. unlock=true opens period and every later locked month again with reason, at once (the connected AI may unlock while the owner's switch 'AI may unlock a period' on the page Month end is on, as it is unless the owner switched it off; no UK or German law asks for a period lock, entries stay unchangeable either way; a closed fiscal year stays locked). withdraw=true with pending_action_id withdraws a request of this connection. The close checklist report lists the warnings that stand before a 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": {
"period": "<period>",
"reason": "<reason>",
"idempotency_key": "<idempotency_key>"
},
"name": "close_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up_to | No | ||
| period | Yes | ||
| reason | Yes | ||
| unlock | No | ||
| company | No | ||
| withdraw | No | ||
| idempotency_key | Yes | ||
| pending_action_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||