get_tree
Retrieve the conversation tree structure for a session, showing fork points, branch summaries, compaction boundaries, and leaf nodes to understand the session layout before navigating.
Instructions
Get the conversation tree structure for a session.
Shows fork points, branch summaries, compaction boundaries, and leaf nodes. Use this to understand the structure before navigating with get_thread or get_forks.
Args: session_id: Session UUID (or prefix). project: Optional project slug to narrow lookup.
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": {
"session_id": "<session_id>"
},
"name": "get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |