ReasoningTools provides step-by-step reasoning capabilities for agents to think through complex problems systematically.
Parameter | Type | Default | Description |
---|---|---|---|
enable_think | bool | True | Enable the think reasoning function. |
enable_analyze | bool | True | Enable the analyze reasoning function. |
instructions | Optional[str] | None | Custom instructions for reasoning behavior. |
add_instructions | bool | False | Whether to add instructions to the agent. |
add_few_shot | bool | False | Whether to include few-shot examples. |
few_shot_examples | Optional[str] | None | Custom few-shot examples for reasoning. |
Function | Description |
---|---|
think | Perform step-by-step reasoning about a problem or situation. |
analyze | Conduct detailed analysis with structured reasoning steps. |