preview_conversion
Preview session conversion between Claude Code, Codex CLI, and OpenCode. See message breakdown, tool call stats, and compatibility notes before converting.
Instructions
Preview what a session conversion would look like without actually writing anything. Shows message breakdown, tool call stats, and compatibility notes for the target format.
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": {
"sessionId": "<sessionId>",
"from": "<from>",
"to": "<to>"
},
"name": "preview_conversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target harness | |
| from | Yes | Source harness | |
| sessionId | Yes | Session ID to preview | |
| searchPaths | No | For OpenCode source: paths to search for databases |