Cubic Equation Solver
calculator_cubic_equationSolve ax³ + bx² + cx + d = 0 for real/complex roots.
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": "calculator_cubic_equation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | Coefficient a (≠0). | |
| b | No | Coefficient b. | |
| c | No | Coefficient c. | |
| d | No | Coefficient d. | |
| equation | No | Cubic equation string. | |
| variable | No | Variable name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roots | No | ||
| expression | Yes |