get_order_email
Read what happened to an order's confirmation email. Use it when a buyer with a paid order says that no email arrived. Returns its state, the number of attempts and the last error, or null for an order that has not been paid.
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": {
"id": "<id>",
"manage_token": "<manage_token>"
},
"name": "get_order_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the order id | |
| manage_token | Yes | the manage token place_guest_order returned for this order; it can also be sent as the x-order-token header |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The state of the confirmation email; null until the order is paid. | ||
| order_id | Yes | The order id. |