A person's availability
get_user_availabilityGet a user's availability blocks within an organization, optionally filtered to a from/to date range. Returns a list of blocks, each with id, date, start_time, end_time, timezone, type, notes, is_recurring and, when a gig or shift created it, source_event_id, source_event_title and source_offer_id. Defaults to the signed-in user and their active org.
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": "get_user_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | optional end of range (YYYY-MM-DD or RFC3339) | |
| from | No | optional start of range (YYYY-MM-DD or RFC3339) | |
| user_id | No | whose availability to read, a user_id from list_org_members; the signed-in user when omitted | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: [{ date, end_time, id, is_recurring, notes, recurring_anchor_id, recurring_rule, source_event_id, source_event_title, source_offer_id, start_time, timezone, type, user_id }] } | |
| error | No | when ok is false |