Join a group order
join_group_orderAdd the user's items to a group order with its code. Returns the order id; pay it with pay_order before the group closes. The organiser collects everything, so the user gets a receipt, not a QR.
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": {
"code": "<code>",
"items": "<items>",
"email": "<email>",
"name": "<name>"
},
"name": "join_group_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The group's code | |
| name | Yes | The user's name, shown to staff on their items | |
| Yes | The user's email, for their receipt | ||
| items | Yes | ||
| shop_url | No | An agentPickup shop's URL, as find_shops returns it. Defaults to https://agentpickup.app. |