Respond to a shift offer
respond_to_crew_offerAccept or decline a crew offer (shift) sent to the signed-in user: the user's own answer, so call it only when they have said which. Find offers with list_crew_offers (scope mine). Who is told: the person who sent the offer is notified of the answer; accepting also puts the shift on the user's Google Calendar (Google emails them the event) and can send out a form or agreement request the organization set to go out when crew accept. Idempotent: answering the same way twice is a no-op. A decline on a completed and settled gig is refused (409 GIG_ROSTER_LOCKED); someone who manages the gig must reopen_event first. Runs on the first call; there is no confirmation step.
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>",
"response": "<response>"
},
"name": "respond_to_crew_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | the crew offer id, from my_pending_actions or list_crew_offers | |
| response | Yes | the user's own answer to the offer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | 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 |