Preview a message
messages_previewShows the exact message that messages_send would send to one dealership, and sends nothing. It answers with the text as the dealership would get it, how it would be sent (sms or email), whether it can be sent now, and a previewToken that is valid for 15 minutes and only for this exact text, this row and this idempotencyKey.
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": {
"dealSetId": "<dealSetId>",
"rowKey": "<rowKey>",
"text": "<text>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "messages_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The message text, as the buyer wants it said to the dealership. | |
| askId | No | Optional. The `askId` of the dealership's question this message answers, from a message in `messages_list` that carries one. Leave it out if the message answers no question. The preview and the send take the same `askId`. | |
| rowKey | Yes | ||
| dealSetId | Yes | The id of the request, from requests_list. | |
| idempotencyKey | Yes | A key made up for this one message. The preview and the send take the same key; sending the same key again returns the first answer. |