get_conversation
One support chat, as the dashboard shows it: the messages oldest first (from customer, team, ai, system for notices like the away message, or note for the team's internal notes, which the customer never sees; translation is the English of a message in another language, from the customer or a reply by the team or the AI, and on a team reply that went out in the customer's language (customerLanguage) it has sentIn, the language it was sent in, with text the English it was written in; replyTo is the earlier message one answers (swipe to reply): id, author, authorName, body, image; via "email" came or went by email, via "agent" was written by an AI agent), the customer (name, email, emailEnteredInChat true when the visitor typed that email into the web chat to get replies by email, so it is not proven theirs, user id, whether their identity is verified, country, city, time zone and their local time now, and the metadata the app sends), what they bought (purchases: plan, status such as active, trial, cancelled or expired, total spent in USD, since when, how they rank among payers, line as one sentence, history, each purchase event from Superwall, RevenueCat, Stripe, Dodo Payments or Polar, reportedPlan, the plan the app reports, and planCheck, whether the two agree: "match", "app_says_free", "app_says_paid" or null, as in list_conversations), their last 10 events in the app, customer.install (whether they still have the app as of the last check; check_install asks again), any drafts waiting, label ("refund" when the AI handed the chat over as a refund or billing request, with the store's next step in a note from Hailbell; else null), agentReplies (whether reply sends or saves a draft in this app) and dashboardUrl. Reading does not mark the chat as read for the team, and goes in the account's data access log, which its admins can see. For older messages, pass before = the previous answer's next.
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": {
"conversationId": "<conversationId>"
},
"name": "get_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Messages to return, the latest ones. Default 50 | |
| before | No | From a previous answer's next, for the messages before them | |
| conversationId | Yes | The chat, from list_conversations (conversationId) |