Business hours
Open/closed status, closed dates, special hours and saved weekly schedules, applied live at once.
Open/closed status, closed dates, special hours and saved weekly schedules, applied live at once. 7 tools.
trillet_get_business_hours
Get business hours
A call flow's business hours: weekly hours, closed dates and special-hours dates, saved schedules, the schedule in use, whether outbound calls are held until open, and the open/closed status right now (e.g. "Open now, closes 5:00 PM" or "Closed, opens Thu 7:00 AM"). Use it to confirm a change took effect. Inbound calls are always answered; the agent reads open/closed from {{business_hours_status}}.
Flags: read-only
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_id | string | yes | |
at | string | no | ISO date-time with offset to evaluate the status at instead of now, e.g. 2026-12-24T09:30:00+11:00 |
workspace_id | string | no | Run this call in another workspace: its id or its name (see trillet_list_workspaces). Omit to use the default (TRILLET_WORKSPACE_ID, the workspace picked when the connector was approved, or the one set with trillet_switch_workspace). |
trillet_set_date_exception
Close a date or set special hours
Change the hours for ONE date without touching the weekly hours: closed: true closes the whole day; start/end sets special hours that replace that day's weekly hours (also opens a normally closed day). Replaces any exception the date already has. Applies to the live flow at once; publishing an editor draft never undoes it. Other dates and settings are untouched.
Flags: writes idempotent open-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_id | string | yes | |
date | string | yes | Calendar date in the flow's business timezone, YYYY-MM-DD |
closed | boolean | no | true to close the whole day |
start | string | no | Opening time for special hours |
end | any | no | Closing time for special hours |
workspace_id | string | no | Run this call in another workspace: its id or its name (see trillet_list_workspaces). Omit to use the default (TRILLET_WORKSPACE_ID, the workspace picked when the connector was approved, or the one set with trillet_switch_workspace). |
trillet_remove_date_exception
Back to normal hours on a date
Remove a date's closure or special hours, so the weekly hours apply on that date again. Applies to the live flow at once.
Flags: writes idempotent open-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_id | string | yes | |
date | string | yes | Calendar date in the flow's business timezone, YYYY-MM-DD |
workspace_id | string | no | Run this call in another workspace: its id or its name (see trillet_list_workspaces). Omit to use the default (TRILLET_WORKSPACE_ID, the workspace picked when the connector was approved, or the one set with trillet_switch_workspace). |
trillet_save_hours_schedule
Save a weekly hours schedule
Save weekly hours under a name (e.g. "Standard", "Storm", "Short-staffed") so they can be switched in one call with trillet_activate_hours_schedule. Omit per_day to save the weekly hours in use right now. activate: true also switches to it. Names are unique per flow (case-insensitive).
Flags: writes open-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_id | string | yes | |
name | string | yes | |
per_day | object (map) | no | Weekly hours keyed by FULL day name: {"Monday": {"enabled": true, "start": "07:00", "end": "17:00"}, ...}. Days left out are closed. Closing time must be after opening time (no hours past midnight). |
activate | boolean | no | Also put these hours in use now |
workspace_id | string | no | Run this call in another workspace: its id or its name (see trillet_list_workspaces). Omit to use the default (TRILLET_WORKSPACE_ID, the workspace picked when the connector was approved, or the one set with trillet_switch_workspace). |
trillet_update_hours_schedule
Change a saved schedule
Rename a saved schedule or change its weekly hours. If it is the schedule in use, the hours in use change too.
Flags: writes destructive idempotent open-world
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_id | string | yes | |
schedule | string | yes | Saved schedule id (sch_...) or its name, case-insensitive (e.g. "Storm") |
name | string | no | |
per_day | object (map) | no | Weekly hours keyed by FULL day name: {"Monday": {"enabled": true, "start": "07:00", "end": "17:00"}, ...}. Days left out are closed. Closing time must be after opening time (no hours past midnight). |
workspace_id | string | no | Run this call in another workspace: its id or its name (see trillet_list_workspaces). Omit to use the default (TRILLET_WORKSPACE_ID, the workspace picked when the connector was approved, or the one set with trillet_switch_workspace). |
trillet_activate_hours_schedule
Switch to a saved schedule
Put a saved schedule's weekly hours in use, by id or name. Closed dates and special hours stay as they are. Applies to the live flow at once, so the next call uses the new hours.
Flags: writes idempotent open-world asks for confirmation
Clients that support MCP elicitation show a confirmation form before this tool runs; declining cancels it with no changes. Other clients rely on their own approval prompt and the confirm argument.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_id | string | yes | |
schedule | string | yes | Saved schedule id (sch_...) or its name, case-insensitive (e.g. "Storm") |
confirm | boolean | no | Set true only after the user explicitly confirmed in chat. |
workspace_id | string | no | Run this call in another workspace: its id or its name (see trillet_list_workspaces). Omit to use the default (TRILLET_WORKSPACE_ID, the workspace picked when the connector was approved, or the one set with trillet_switch_workspace). |
trillet_delete_hours_schedule
Delete a saved schedule
Delete a saved schedule by id or name. The weekly hours in use stay as they are. This can't be undone. Always confirm with the user first; requires confirm=true.
Flags: writes destructive idempotent open-world asks for confirmation
Clients that support MCP elicitation show a confirmation form before this tool runs; declining cancels it with no changes. Other clients rely on their own approval prompt and the confirm argument.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
flow_id | string | yes | |
schedule | string | yes | Saved schedule id (sch_...) or its name, case-insensitive (e.g. "Storm") |
confirm | boolean | yes | Must be true. Only set after the user explicitly approved deleting this schedule. |
workspace_id | string | no | Run this call in another workspace: its id or its name (see trillet_list_workspaces). Omit to use the default (TRILLET_WORKSPACE_ID, the workspace picked when the connector was approved, or the one set with trillet_switch_workspace). |
Last updated on