Join the loyalty programme
join_loyaltyLoyalty sign-up for a guest. The guest must confirm their own e-mail, so joining happens on the restaurant's menu (My thmenu → Loyalty); this tool answers with that instruction and never reveals whether an e-mail or phone is already enrolled. Requires an active agent_session_id.
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": {
"agent_session_id": "<agent_session_id>"
},
"name": "join_loyalty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Not used for a lookup; the guest confirms their e-mail on the menu. | ||
| phone | No | Not used for a lookup. | |
| display_name | No | Not used. | |
| agent_session_id | Yes | Active session id from start_order_session. |