import_conversation
Import a single historical conversation silently (no webhooks, no notifications). Use for migrating data from other chat platforms.
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": {
"visitor": "<visitor>",
"messages": "<messages>"
},
"name": "import_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visitor | Yes | Visitor info — matched by email first, then user_id, then external_id, or creates new | |
| messages | Yes | Messages to import (1-1000, ordered chronologically) | |
| project_id | No | Target project ID | |
| conversation | No | Conversation metadata (defaults to resolved status) | |
| project_slug | No | Target project slug (helpdesk slug) |