Get an enquiry
get_enquiryOne enquiry with its lines, its status history and the business's note. Each line is a copy of the product
as it was asked for; product_id is null once the product is deleted. Reading it does not mark it read.
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": {
"enquiry_id": "<enquiry_id>"
},
"name": "get_enquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enquiry_id | Yes | The enquiry's id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| note | Yes | The business's own note; the buyer never sees it. | |
| read | Yes | ||
| Yes | Empty when not given; at least one of email, phone and whatsapp is. | ||
| lines | Yes | ||
| phone | Yes | ||
| number | Yes | ||
| status | Yes | Where the enquiry stands. | |
| company | Yes | ||
| country | Yes | An ISO 3166-1 alpha-2 code; empty when not given. | |
| message | Yes | ||
| Yes | |||
| created_at | Yes | ||
| updated_at | Yes | ||
| status_history | Yes | Every status it has had, oldest first; the first is new. |