backtrack
Prune a failed reasoning path by backtracking from a thought, marking all descendant branches as pruned to refocus exploration.
Instructions
Backtrack from a thought, marking all descendants as pruned
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": {
"treeId": "<treeId>",
"thoughtId": "<thoughtId>"
},
"name": "backtrack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeId | Yes | The ID of the tree | |
| thoughtId | Yes | The ID of the thought to backtrack from |