schedule.openSlots
Times the shop marked open for its voice agent to book (upcoming only), and which are booked. Any worker in the shop can read it.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/schedule/open-slots |
| MCP tool | schedule_openSlots |
| Writes | no |
| Area | Scheduling and visits |
When to use it
Times the shop marked open for its voice agent to book (upcoming only), and which are booked. Any worker in the shop can read it.
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/open-slots?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
data | array | yes |
data[].slot_id | string (uuid) | yes |
data[].starts_at | string (date-time) | yes |
data[].ends_at | string (date-time) | yes |
data[].booked | boolean | yes |
data[].kind | string (one of routine, emergency) | yes |
data[].request_id | ['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')'] | no |
{
"data": [
{
"slot_id": "00000000-0000-4000-8000-000000000000",
"starts_at": "...",
"ends_at": "...",
"booked": true,
"kind": "routine"
}
]
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |