Send a shift to crew
send_crew_offerSend a shift to crew so they can accept or decline: this flips a DRAFT to OPEN and notifies recipients by email/SMS/push. Omit recipient_ids/recipients to send to the recipients already attached (or the linked call list); pass them to add or target specific people. recipients[] carries per-person fees for people this send ADDS and its user_ids are sent too (no need to repeat them in recipient_ids); a fee for someone already attached is refused here — set it with save_crew_offer first. The confirmation token binds the exact people who will be notified (named plus already attached) and their fees, so attaching someone or changing a fee after approval re-gates the send. Re-sending an OPEN shift reaches newly added people and attached PENDING recipients whose delivery status is NOT_SENT (the tool refuses a no-op send and says so); use send_reminder kind=crew_offer for nudges. To ask someone who declined again, name them in recipient_ids and pass reask_dates with the day or days to re-ask. With no recipients given, the current members of the linked call list are resolved now and sent by id. Messages real people, so it is confirmation-gated — the confirmation summary names the shift and who will be notified.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"offer_id": "<offer_id>"
},
"name": "send_crew_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | crew offer id from list_crew_offers / save_crew_offer | |
| recipients | No | recipients with per-person fees | |
| reask_dates | No | Days to ask the people in recipient_ids again after they declined them (one day or several). Their declined days on those dates go back to pending and they are notified. Days that have passed stay declined. Without this, a send never re-asks someone who declined. | |
| recipient_ids | No | user ids to send to | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| confirmation_token | No | leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | when the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { recipient_drafts [{ user_id, fee, username, email, shift_overlaps }], calllist_id, created_by_id, currency, date, days [{ accepted_count, capacity, date, effective_end_time, effective_fee, effective_start_time, end_time, fee, and 4 more fields }], description, end_time, event_id, event_status, event_title, event_type, event_timezone, expires_at, fee, fee_type, id, kind, and 11 more fields } } | |
| error | No | when ok is false |