generate_children_with_llm
Generates child thoughts for a given parent in a Tree of Thoughts structure using an LLM provider. Expands the reasoning tree with AI-generated branches.
Instructions
Generate child thoughts using the configured LLM provider (Grok, Ollama, etc.). This triggers actual API calls to the LLM service.
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>"
},
"name": "generate_children_with_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeId | Yes | Tree ID | |
| parentId | Yes | Parent thought ID to generate children for | |
| numChildren | No | Number of child thoughts to generate (default: 3) | |
| temperature | No | Temperature for LLM generation (default: 0.7) |