get_forks
Retrieve fork points from session history to reveal branch points, retries, and edits, showing which branch was continued versus abandoned.
Instructions
Get fork points in a session with diverging branch details.
Shows where conversations branched (retries, edits) and which branch the user continued with (primary) vs abandoned.
Args: session_id: Session UUID (or prefix). project: Optional project slug. fork_uuid: Show only this specific fork point. Empty for all forks.
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_forks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| fork_uuid | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |