Next shift
deputy_next_shiftGet your own next upcoming shift from your Deputy calendar feed, returning one shift, a no-shift note, or JSON. Use it for the single next shift, not for a roster range.
Instructions
Return your own next upcoming shift from your personal Deputy calendar feed. Leave 'employee' empty: other people's shifts are not available in this mode.
When NOT to use: for a range of shifts (use deputy_get_my_roster).
Returns markdown (one shift, or a note that none is scheduled) or, with response_format="json", a single Roster record or null.
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 |