Find gigs
list_eventsFind gigs the signed-in user can see, in one organization or across all of them. Filter by organization, person, or status. Paginated with limit (max 100) and offset. Rows run newest event date first and include past gigs; for upcoming or next gigs pass upcoming=true (today and ongoing gigs in their own timezone, nearest first) or use my_agenda, and pass from/to (YYYY-MM-DD) for a date range. Each row is a nested envelope {event, assignments, members, invitations}: the gig's id, title, date and event_status live on row.event, not on the row itself — match a gig by row.event.title. Rows leave out each gig's timeline and give row.event.schedule_item_count when the gig has one: read it with get_event_schedule, or pass include_schedule=true. event_status is an exact match: an unarchived gig is UNARCHIVED, not ACTIVE, so omit the filter (or pass UNARCHIVED) to find one. event_status="TEMPLATE" lists the organization's gig templates — the ones create_event_plan and suggest_plan_templates plan from. The onboarding sample gig (row.event.is_sample=true) is left out unless include_sample is true. event_status="DELETED" instead lists gigs deleted in the last 30 days that restore_event can bring back: flat rows with deleted_by and deletion_scheduled_for, gig managers only, organization_id defaults to your active org, no pagination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | inclusive end day | |
| from | No | inclusive start day | |
| limit | No | rows per page, capped at 100; 20 when omitted | |
| offset | No | rows to skip before this page; omit to start at the first row | |
| user_id | No | filter to events the given user is a member of | |
| upcoming | No | true: only today, ongoing and later gigs, nearest first | |
| event_status | No | exact match: ACTIVE | UNARCHIVED | DRAFT | COMPLETED | SETTLED | CANCELLED | ARCHIVED | TEMPLATE | DELETED | |
| include_sample | No | include the onboarding sample gig (is_sample=true); default false | |
| organization_id | No | filter to events in this organization | |
| include_schedule | No | true: keep each gig's full timeline (schedule_items) in its row; default leaves it out and gives schedule_item_count |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | tool payload (API/composite/confirmation object); object, array, or primitive JSON | |
| error | No | when ok is false |