Reserve Appointment Slot
reserve_appointment_slotBook an instructor's office hours or advising time slot so the instructor sees your reservation; get slot IDs from get_appointment_group and cancel with cancel_reservation.
Instructions
Book an office hours or advising time slot. The instructor sees the booking. Get slot IDs from get_appointment_group; cancel with cancel_reservation. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]
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": {
"appointment_id": "<appointment_id>"
},
"name": "reserve_appointment_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true together with confirm_token to carry out a request you already previewed. | |
| comments | No | Optional note for the instructor, e.g. what you want to discuss. | |
| confirm_token | No | The one-time token from the preview. Only use it after the user has said yes. | |
| appointment_id | Yes | Time slot ID from get_appointment_group |