Book an appointment
book_appointmentBook an appointment on an open Booking Agent at a time it has available: call list_open_times first and pass one of its startsAt values as starts_at, rather than guessing. TroopRally emails the attendee a confirmation. Check with the organizer before booking someone on their behalf.
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": {
"rally_id": "<rally_id>",
"starts_at": "<starts_at>",
"attendee_name": "<attendee_name>",
"attendee_email": "<attendee_email>"
},
"name": "book_appointment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answers | No | Answers to the rally's custom fields (see list_custom_fields). Every required field needs one. For an image field, upload the image with upload_custom_field_image and pass the answer it returns. For a dropdown field, pass one of its options as answer, or several as selected_options. | |
| rally_id | Yes | The rally's id (rallyId from list_rallies). | |
| timezone | No | IANA timezone for the readable times in the result, like America/Chicago. Defaults to the organizer's timezone. | |
| starts_at | Yes | ISO 8601 time with an offset, like 2026-11-05T19:00:00-05:00. A time without an offset is refused. | |
| attendee_name | Yes | The attendee's name as it should appear. | |
| attendee_email | Yes | Where TroopRally sends the attendee's confirmation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slotId | Yes | ||
| bookingId | Yes |