get_branch
Retrieve a branch's metadata and full thought history to inspect its reasoning before merging, closing, or continuing.
Instructions
Retrieve a specific branch's metadata and full thought history. Read-only. Returns: branch ID, origin thought, status (active/closed/merged), conclusion if set, all thoughts in the branch with their numbers and content, and timestamps. Use to deeply inspect a branch's reasoning before deciding to merge, close, or continue it. Use list_branches first to get the branch ID.
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": {
"branchId": "<branchId>"
},
"name": "get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchId | Yes | The ID of the branch to retrieve |