Book a CANOPY tour (two steps)
book_tourBooks a tour time from get_tour_slots. Step 1, without confirm_token: returns a preview of the details and a confirm_token (valid 10 minutes); nothing is saved. Show the preview to the person. Step 2, with the same details and the confirm_token: books the tour (status 'booked'; Calendly emails the person a confirmation and calendar invite) and passes the details to CANOPY's sales team. At a location that can't take direct bookings yet, step 2 instead returns a Calendly link with the details filled in (status 'link_issued') for the person to confirm. Only call step 2 after the person agrees.
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": {
"location_id": "<location_id>",
"slot_start": "<slot_start>",
"name": "<name>",
"email": "<email>",
"company": "<company>",
"team_size": "<team_size>"
},
"name": "book_tour"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| Yes | |||
| notes | No | ||
| phone | No | ||
| company | Yes | ||
| team_size | Yes | ||
| tour_type | No | in_person | |
| slot_start | Yes | ||
| leave_empty | No | ||
| location_id | Yes | ||
| confirm_token | No | ||
| conversation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||