get_year_budget
Check planned versus available leave for a year, including carryover expiry, to see if planned holidays fit your allowance. Call after each change to keep budgets accurate.
Instructions
Leave planned versus available for a year, including carryover expiry.
Answers "can we afford all of this?" -- call it after every change.
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": {
"ledger": "<ledger>",
"year": "<year>"
},
"name": "get_year_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| ledger | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||