get_leave_period
Read a leave period by its identifier to get its days, half days, and reason. Use it to inspect one recorded absence in Gryzzly time tracking.
Instructions
Read one leave period by identifier: its days, its half days, its reason.
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": {
"id": "<id>"
},
"name": "get_leave_period"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The leave period's identifier. | |
| confirm | No | Must be `true` to delete. Ignored when reading. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The leave period's identifier. | |
| end_at | No | The last day of the leave. | |
| user_id | No | The user on leave. | |
| end_type | No | `full`, `am` or `pm`. | |
| start_at | No | The first day of the leave. | |
| edited_by | No | Who last edited the leave period. | |
| created_at | No | When the leave period was created. | |
| start_type | No | `full`, `am` or `pm`. | |
| updated_at | No | When the leave period was last updated. | |
| description | No | Why the person is away. |