Build a cart and get the pay link
build_cartBuild a cart at one store and get a pay link for the customer. This does NOT place the order and does NOT charge anyone. Every item and choice is checked against the real menu; if a required choice is missing, no cart is made and the answer says what to ask the customer. Send ALL lines each time. After it works, show the customer the returned order list and pay link. The customer opens the link, checks it, and pays.
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": {
"store_id": "<store_id>",
"items": "<items>"
},
"name": "build_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| store_id | Yes | store_id from list_stores. | |
| dropoff_note | No | Optional. Cabin name, gate code, or where to leave it. | |
| delivery_address | No | Optional. The customer's delivery address. With it, the answer has the full total. |