Respond to availability request
respond_to_availability_requestRespond to an availability request as the signed-in user: the user's own answer, so call it only when they have said which. status must be AVAILABLE or UNAVAILABLE. Who is told: the person who sent the request is notified of the answer by email or text, and the user gets a confirmation of their own answer. 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": {
"request_id": "<request_id>",
"status": "<status>"
},
"name": "respond_to_availability_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | optional note with the response | |
| status | Yes | AVAILABLE or UNAVAILABLE | |
| request_id | Yes | the availability request to respond to, an id from list_availability_requests scope=received |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { created_by_id, date, days [{ date, effective_end_time, effective_start_time, end_time, id, start_time }], description, end_time, event_id, event_status, event_title, event_type, event_timezone, expires_at, id, org_position_ids, recipients [{ availability_id, day_responses, email, email_bounced_at, email_delivered_at, email_opened_at, id, name, and 8 more fields }], request_mode, sent_at, start_time, status, and 1 more field } } | |
| error | No | when ok is false |