branch_close
Close a rejected branch by recording its conclusion, optionally scoped to a session or task, so reasoning trails end cleanly without affecting active branches.
Instructions
Close a rejected branch with conclusion. Pass sessionId/taskId for task-scoped branching.
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": "branch_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | ||
| branchId | No | ||
| sessionId | No | ||
| conclusion | No |