Book a space
book_spaceBook a pitch, court or hall for a real person — check_space_availability first. The venue prices and checks it exactly as it does on its own page. If the space's bookingMode is "instant", the time is held for the person for a few minutes and the result carries a paymentLink: give it to them to pay, and the booking is confirmed when they do (if they don't, the time is released). If it is "request", the venue is asked and the person is sent a payment link once it accepts. This tool never takes payment itself.
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": {
"restaurantId": "<restaurantId>",
"spaceId": "<spaceId>",
"date": "<date>",
"startTime": "<startTime>",
"hours": "<hours>",
"guestName": "<guestName>",
"guestPhone": "<guestPhone>"
},
"name": "book_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD, the venue's local date | |
| hours | Yes | How long. Per-session spaces are one price whatever the length | |
| people | No | ||
| spaceId | Yes | ||
| guestName | Yes | ||
| startTime | Yes | HH:MM from check_space_availability's freeStartTimes | |
| guestEmail | No | ||
| guestPhone | Yes | ||
| restaurantId | Yes |