convert_by_path
Convert a session file by its direct file path, auto-detecting format from Claude, Codex, or OpenCode. Ideal when the file location is known.
Instructions
Convert a session file by its direct file path. Auto-detects the format (Claude JSONL, Codex rollout JSONL, or OpenCode .db). Useful when you know the exact file location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target harness | |
| sourcePath | Yes | Absolute path to the source session file (.jsonl or .db) | |
| projectPath | No | For OpenCode target: project directory path |