Create a Booking Agent
create_booking_agentCreate a Booking Agent, where people book their own appointment from weekly open hours, like office hours or consultations. Returns the participant link to share. Creating a Booking Agent emails no one. Defaults match TroopRally's create form: 30-minute one-on-one appointments, bookable any time ahead, no calendar sync. To check the organizer's calendar for conflicts or add bookings to it, get calendar_id from list_connected_calendars. Payment and branding are set up on the rally page; add custom fields with add_custom_field.
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": {
"title": "<title>",
"meeting_format": "<meeting_format>",
"weekly_hours": "<weekly_hours>"
},
"name": "create_booking_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| location | No | Where it happens, for In person or Hybrid. | |
| timezone | No | IANA timezone the weekly hours are in, like America/Chicago. Defaults to the organizer's timezone. | |
| last_date | No | The last date appointments can be booked, as YYYY-MM-DD. | |
| book_ahead | No | Only offer appointments up to this far ahead, a window that moves with today. Omit it and the dates for no limit. | |
| first_date | No | With last_date, only offer appointments between these dates, as YYYY-MM-DD. | |
| host_email | No | Only when TroopRally is connected for a team: the email address of the team member who hosts it, whose calendar and video account it uses. Leave it out to use whoever connected TroopRally. Never set it on a personal connection. | |
| calendar_id | No | A calendar from list_connected_calendars to check and add bookings to. Defaults to the host's default calendar. With host_email, list that member's calendars first. | |
| custom_link | No | A memorable end for the participant link, 3-30 lowercase letters, numbers or hyphens: office-hours gives trooprally.com/join/office-hours. Refused if another open Booking Agent has it. | |
| description | No | ||
| weekly_hours | Yes | When people can book, every week. Each entry opens the same hours on its days; add another entry for split hours (like 09:00-12:00 and 13:00-17:00) or different hours on other days. | |
| booking_limit | No | How often one attendee can book. Omit for as often as they like. | |
| buffer_minutes | No | Minutes kept free after each appointment: 0, 5, 10, 15, 20, 25 or 30. Defaults to 0. | |
| meeting_format | Yes | ||
| booking_capacity | No | How many people can book the same appointment time. Defaults to 1, one-on-one. | |
| email_me_responses | No | Email the organizer a copy of each response. Defaults to true. | |
| appointment_minutes | No | Length of each appointment. Defaults to 30. | |
| minimum_notice_minutes | No | How much notice a booking needs, in minutes: 0, 15, 30, 60, 120, 180, 240, 480, 1440 (a day), 2880, 4320, 5760, 7200, 8640 or 10080 (a week). Defaults to 0. | |
| notification_email_ids | No | Also send copies to the team's verified addresses, by notificationEmailId from list_notification_emails: up to 5. Only when TroopRally is connected for a team; a personal rally can't send copies to other addresses. | |
| online_meeting_details | No | How to join, for Virtual or Hybrid. | |
| add_bookings_to_calendar | No | Add each booking to the calendar. Defaults to false. A read-only calendar can't take them. | |
| check_calendar_conflicts | No | Hide times that clash with events on the calendar. Defaults to false. | |
| reminder_offsets_minutes | No | Email each attendee this many minutes before their appointment, up to two of 60, 120, 1440 (a day), 2880 or 10080 (a week). Defaults to [1440]. Send [] for none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rally | Yes | ||
| settings | Yes |