solve
Solves linear equations and systems exactly with no/infinite solution reports, finds all real roots of one nonlinear equation in a range, and numerically solves square nonlinear systems in calc syntax.
Instructions
Solve equations in calc syntax: linear equations/systems exactly (reports no/infinite solutions), one nonlinear equation (all real roots in range), square nonlinear systems numerically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "solve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guess | No | start point {x:1} | |
| range | No | [min,max] for one unknown | |
| equation | No | e.g. "3x+2=11"; no "=" means =0 | |
| equations | No | system | |
| variables | No |