rest_periods
Calculate rest hours between consecutive shifts and identify short rests to ensure compliance with minimum rest requirements.
Instructions
Calculate rest hours between consecutive shifts and flag short rests.
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": {
"start": "<start>",
"end": "<end>"
},
"name": "rest_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| calendar | No | ||
| minimum_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |