create_reservation
Request a table reservation. Starts as "pending" until the restaurant confirms — check with get_reservation_status. Returns reservationId (keep it: it is the token for status and cancellation). Optionally bind a specific table via tableId (from check_table_availability).
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": {
"domain": "<domain>",
"start": "<start>",
"name": "<name>"
},
"name": "create_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Guest name | |
| phone | No | ||
| start | Yes | ISO 8601 datetime | |
| codeId | No | ||
| domain | Yes | ||
| comment | No | ||
| tableId | No | ||
| partySize | No | ||
| idempotencyKey | No | Retry guard: repeating the same key returns the original reservation instead of booking twice. | |
| durationMinutes | No |