solve_problem
Solves complex problems using structured chain-of-thought reasoning with adaptive parsing, retry logic, and token budget management.
Instructions
Solves a problem using strict Agentic Chain-of-Thought with adaptive parsing, retry logic, token budgeting (via tiktoken), and configurable model.
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": {
"prompt": "<prompt>"
},
"name": "solve_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The problem to solve. | |
| history | No | Previous CoT steps to build on for multi-turn reasoning | |
| resultSchema | No | Optional JSON schema to validate the result field against. |