Log orders
log_orderFor shop owners: record orders the seller took outside Confita (a DM, a call, a market), up to 10 a call. Use it for orders she already agreed to, not to change one already in the book (update_order). Listings, options and customers are matched by name; a custom line is a one-off item with its own price. Each order comes back logged, priced (dry_run: nothing saved) or failed with a try; notice holds what the seller should hear. A likely duplicate is needs_choice and logs nothing. The customer is not messaged.
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": {
"orders": "<orders>",
"request_id": "<request_id>"
},
"name": "log_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | One entry per customer order, up to 10. | |
| dry_run | No | True to price and check the orders without saving anything. | |
| request_id | Yes | Unique per call; the same id again returns the first result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| error | No | ||
| choices | No | ||
| outcome | No | ||
| results | No | ||
| prepared | No | ||
| timezone | No | ||
| confirmation | No |