Respond to a gig invitation
respond_to_invitationAccept or decline a gig invitation sent to the signed-in user: the user's own answer, so call it only when they have said which. Who is told: the person who set up the gig is notified of the answer, and accepting 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": {
"invitation_id": "<invitation_id>",
"response": "<response>"
},
"name": "respond_to_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | the user's own answer to the invitation | |
| invitation_id | Yes | the invitation id, from my_pending_actions or list_event_invitations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { converted_to_offer_id, call_order, currency, email, event { end_time, event_date, event_type, id, location, location_name, organization, schedule_items, and 2 more fields }, event_id, event_member_status, fee_notes, first_name, id, last_name, org_position_id, payment_terms, performance_fee, phone_number, position { id, is_custom, name, section }, responded_at, status, and 2 more fields } } | |
| error | No | when ok is false |