Message a customer
message_customerFor shop owners: email the customer of one order: a template about the order as it is, the seller's own words (text), a quote with a price (quote), or review_invite. It always returns needs_confirmation: Confita writes the exact email, shown in untrusted.preview, and nothing is sent until the seller taps Confirm. Use it when the seller asks for a message, or agrees to one a reply's next offered. A customer with no email cannot be 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": {
"order": "<order>",
"revision": "<revision>",
"request_id": "<request_id>"
},
"name": "message_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The seller's own words, sent as written. Required for seller_message; for a template, a short note added to it. | |
| order | Yes | The order by its number ("1042" or "#1042") or id (ord_...). | |
| quote | No | Send a quote instead of a message. The order must be waiting for one. | |
| revision | Yes | The order's `revision` as last read; if the order changed since, nothing happens. | |
| template | No | A template about the order as it is, quote_sent (resends the open quote), review_invite (asks for a review of a completed order; `text` is not used), or seller_message for the seller's own words, which is the default with `text`. | |
| request_id | Yes | Unique per call; the same id again returns the first result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| next | No | ||
| error | No | ||
| order | No | ||
| outcome | No | ||
| timezone | No | ||
| untrusted | No | ||
| confirmation | No |