Get my calendar budget
Read what is left of your absence budget, per type.
MCP tool officient_read → get_calendar_budget
read
Returns the figures shown under My calendar budget in the Calendar, one line per absence type your company uses. Call it before request_absence to see whether the type has enough left.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "officient_read",
"arguments": {
"operation": "get_calendar_budget",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"budgets": [
{
"type": "Holiday",
"remaining": 14.5
},
{
"type": "Overtime",
"remaining": 6
}
]
},
"isError": false
}