Place an order
place_orderFor customers: place a draft order with the shop, as the buyer; next_step says what happened and what the buyer does now. add_address: a delivery draft is not sent yet, and address_url is Confita's page where the buyer types the address and sends it. pay: checkout is a link to pay on Confita, and the order is theirs only once paid. wait_for_seller: a request, with nothing charged until the seller accepts. wait_for_quote: the seller names a price first, which the buyer accepts before paying. confirmed: on the books.
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": {
"order": "<order>",
"request_id": "<request_id>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The buyer's name for the seller, if their account has none and the draft did not get one. | |
| note | No | A note for the seller, replacing the draft's. | |
| order | Yes | The draft's id (ord_...) from start_order. | |
| phone | No | A phone number for the seller, kept only when `name` is sent too. | |
| coupon | No | A coupon code, replacing the draft's. | |
| pay_with | No | How the buyer pays, when the shop offers more than cards: "card", or one of get_shop's other_ways by id or name. | |
| request_id | Yes | Unique per call; the same id again returns the first result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| error | No | ||
| order | No | ||
| choices | No | ||
| outcome | No | ||
| checkout | No | ||
| ordering | No | ||
| timezone | No | ||
| next_step | No | ||
| address_url | No | ||
| confirmation | No |