List My Time Off
list_my_time_offReads the signed-in person's own time off: the balance for each leave type (allowance, used, pending, booked ahead, and what is left now and after booked leave, or unlimited), the leave types the workspace offers with their notice and approval rules, and their upcoming or pending requests with ids. Handles "how much vacation do I have left?" or "what time off have I booked?".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_my_time_off"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Not needed when signed in: these tools act for the signed-in person, and any other ID is refused. Applies only to a workspace connection with no signed-in user, naming whose time off this is. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| today | No | ||
| balances | No | ||
| timeZone | No | ||
| upcoming | No | ||
| leaveTypes | No |