Add an approach or sub-step
branchAdd a child under parent (default root) before you try it. If its wording mostly overlaps a dead path anywhere in the tree, it is not added and you get that path's reason; rephrase if it is genuinely different, or pass retry_because with what changed.
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": {
"tree_id": "<tree_id>",
"text": "<text>"
},
"name": "branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | One line: the approach or step. | |
| agent | No | Who you are. | |
| parent | No | Node id this branch serves. Default "root". | |
| tree_id | Yes | Tree id from open_tree. | |
| retry_because | No | Only when retrying a dead path: what changed since it died. |