import_omp_session
Import an oh-my-pi session into the current conversation to restore context, reconstruct the active branch, format a handoff transcript within the character budget, and archive the full transcript.
Instructions
Import an oh-my-pi (omp) session into the CURRENT conversation context (ideal when running inside agy). Reconstructs the active branch (respecting omp compaction summaries), formats a clean handoff transcript within the char budget, and archives the complete verbatim transcript on disk for on-demand lookup.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "import_omp_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional workspace directory to prioritize when resolving 'latest' or ambiguous queries. | |
| session | No | OMP session ID, ID prefix, .jsonl path, title substring, or 'latest'. | latest |
| max_chars | No | Maximum characters to return inline (full verbatim transcript is always saved to disk). | |
| include_tools | No | Include tool calls and summarized tool outputs. | |
| include_thinking | No | Include assistant thinking blocks. | |
| respect_compaction | No | Start from the latest OMP compaction summary if the session was compacted. |