Calling hours check
call_hours_checkIs it within calling hours (8 a.m. to 9 p.m.) where the called person is, and if not, when the window opens next.
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": {
"timezone": "<timezone>"
},
"name": "call_hours_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | Moment to check (ISO 8601). Default: now | |
| end_hour | No | Narrow the window for stricter state rules | |
| timezone | Yes | IANA timezone where the called person is, e.g. America/Detroit | |
| start_hour | No | Narrow the window for stricter state rules |