import_conversations
Import conversation files from Claude Code, Claude.ai, ChatGPT, Slack, or plaintext into persistent memory. Automatically detects the format, normalizes messages, and stores them under a target scope.
Instructions
Import a conversation file (Claude Code JSONL, Claude.ai JSON, ChatGPT JSON, Slack JSON, plaintext, or connector-v1 JSON) into memory. Auto-detects format or use explicit format parameter. Messages are normalized and stored via the standard persistMemory pipeline. For connector-v1 format, use the standard ConnectorOutputV1 schema (see docs/connector-spec.md).
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": {
"content": "<content>",
"scope": "<scope>"
},
"name": "import_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Target scope for imported memories, e.g. 'project:myapp' | |
| format | No | Conversation format. Use 'auto' to detect automatically. 'connector-v1' for standard connector output. | auto |
| content | Yes | Raw file content to import |