deputy_next_shift
Get an employee's next upcoming shift by name or ID, or your own when omitted. Resolves names to one active person and returns the earliest scheduled shift or a none-scheduled note.
Instructions
Return the single next upcoming shift for an employee (name or id).
Omit 'employee' to get your own next shift. A name must resolve to exactly one active person; otherwise the matches are listed for you to retry by id.
When NOT to use: for a full range of upcoming shifts (use deputy_get_my_roster or deputy_search_shifts) — this returns only the earliest one.
Returns markdown (one shift, or a 'none scheduled' note) or, with response_format="json", a single Roster record or null. In iCal mode only your own next shift is available (naming another employee needs an API token).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| employee | No | Employee name or id. | |
| response_format | No | Output format: 'markdown' (human-readable, default) or 'json' (raw records). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |