get_turn
Retrieves a single full, unedited conversation turn by its exact ID so you can verify source anchors, terminal outputs, code snippets, and error tracebacks with zero detail loss.
Instructions
Retrieves a single uncompressed, un-summarized conversation turn by its exact ID (Tier 4).
This is the core of Project-M's Lossless Provenance Engine. When an ADR or task references a source anchor (e.g., 'turn:antigravity:caa4cbcc:447'), call this tool to retrieve the 100% complete, unedited historical message.
Guarantees:
Zero detail loss: Full terminal outputs, code snippets, and error tracebacks.
Zero hallucination: Exact raw payload as ingested from the local client transcript.
Args: turn_id: Deterministic turn identifier (e.g., 'antigravity:caa4cbcc:447' or 'codex:msg-982').
Returns: dict[str, Any]: Complete turn record with source, role, timestamp, and uncompressed content. str: Not-found message if the ID does not exist in the database.
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": {
"turn_id": "<turn_id>"
},
"name": "get_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turn_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |