prepare_order
Creates an immutable confirmation preview from the current quote and order details. Requires payment mode, dine type, merchant name, customer name, and phone.
Instructions
Freeze the current quote and order details into an immutable confirmation preview.
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": {
"payment_mode": "<payment_mode>",
"dine_type": "<dine_type>",
"merchant_name": "<merchant_name>",
"customer_name": "<customer_name>",
"phone": "<phone>"
},
"name": "prepare_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | ||
| comments | No | ||
| dine_type | Yes | ||
| address_id | No | ||
| payment_mode | Yes | ||
| address_line1 | No | ||
| address_line2 | No | ||
| address_line3 | No | ||
| customer_name | Yes | ||
| merchant_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||