Change an enquiry
update_enquiryChanges what is sent: status, which adds to its history when it changes, with who changed it; read,
true to mark it read or false to mark it unread; and note, the business's own, which the buyer never
sees.
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": "update_enquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | The business's own note; the buyer never sees it. | |
| read | No | True marks it read; false marks it unread. | |
| status | No | Where the enquiry stands. | |
| 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. |