add_child
Add a child thought to an existing thought in a tree, expanding the reasoning path by linking new content to a parent node for structured decision exploration.
Instructions
Add a child thought to an existing thought
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>",
"parentId": "<parentId>",
"content": "<content>"
},
"name": "add_child"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeId | Yes | The ID of the tree | |
| content | Yes | The content of the child thought | |
| metadata | No | Optional metadata for the thought | |
| parentId | Yes | The ID of the parent thought | |
| sessionId | No | Optional session ID for context maintenance |