schedule.settings
The shop's scheduling setup: time zone, booking hours (or the default when none are set), arrival window, travel buffer, reminder lead time, and whether on-my-way notices go out. Any worker in the shop can read it.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/schedule/settings |
| MCP tool | schedule_settings |
| Writes | no |
| Area | Scheduling and visits |
When to use it
Read schedule.settings first: it has the shop's time zone, working hours, arrival window and buffer. Use schedule.findTime to get open times that fit the shop's hours, each worker's hours and time off, and visits already booked with the buffer around them, then book with visits.create.
What to tell the owner
Tell them what you found in plain words. Don't read back raw fields.
| Field | Type | Required |
|---|
shop_id | string (uuid) | yes |
Example
GET https://doingwork.work/v1/schedule/settings?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
shop_id | string (uuid) | yes |
time_zone | string | yes |
time_zone_set | boolean | no |
hours | array | yes |
hours[].weekday | integer | yes |
hours[].start | string | yes |
hours[].end | string | yes |
hours_source | string (one of shop, default) | yes |
arrival_window_minutes | integer | yes |
buffer_minutes | integer | yes |
reminder_hours | integer | yes |
on_my_way_notices | boolean | yes |
{
"shop_id": "00000000-0000-4000-8000-000000000000",
"time_zone": "...",
"hours": [
{
"weekday": 1,
"start": "...",
"end": "..."
}
],
"hours_source": "shop",
"arrival_window_minutes": 1,
"buffer_minutes": 1,
"reminder_hours": 1,
"on_my_way_notices": true
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |