Set phone hours
set_phone_hoursSets when the phone is "open" and where calls go during and outside those times (e.g. open → ring group, closed → voicemail). Without phone_hours_id a new time control is created.
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": {
"ranges": "<ranges>",
"open_destination": "<open_destination>",
"closed_destination": "<closed_destination>"
},
"name": "set_phone_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name, e.g. Opening hours | |
| ranges | Yes | Times in which "open" applies | |
| phone_hours_id | No | ID of the phone hours to change (from get_phone_setup); empty = create new | |
| open_destination | Yes | Destination during the times | |
| closed_destination | Yes | Destination outside the times |