Moje rezerwacje
get_my_bookingsPURPOSE: Lists the verified customer's bookings from the last 90 days (or one booking by booking_reference): reference, services, date, time, price, status, can_reschedule, can_cancel. WHEN TO USE: When the customer asks about their existing booking(s). WHEN NOT TO USE: Not for new bookings. Without customer_grant it returns error verification_required - then run start_phone_verification -> verify_phone_code. REQUIRED: customer_grant (or a signed-in customer). SIDE EFFECTS: none (read-only). Never shows other customers' data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_my_bookings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. | |
| customer_grant | No | customer_grant returned by verify_phone_code | |
| booking_reference | No | Optional: one booking instead of the list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| date | No | YYYY-MM-DD, Polish time | |
| time | No | HH:MM, Polish time | |
| count | No | ||
| error | No | Stable machine-readable error id when success=false, e.g. missing_required_fields, unsupported_postcode, no_availability | |
| price | No | ||
| total | No | ||
| end_at | No | ||
| status | No | ||
| message | No | ||
| success | Yes | true = operation done / data returned; false = see error | |
| bookings | No | ||
| currency | No | ||
| start_at | No | ||
| booking_id | No | Booking reference to give the customer (same as booking_reference) | |
| can_cancel | No | ||
| session_id | No | ||
| can_reschedule | No | ||
| missing_fields | No | ||
| service_summary | No | ||
| booking_reference | No |