quadratic_solve
Solve quadratic equations ax² + bx + c = 0 to get roots, discriminant, and vertex from coefficients a, b, and c.
Instructions
Solve a quadratic equation ax^2 + bx + c = 0. Returns roots, discriminant, and vertex.
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": {
"a": "<a>",
"b": "<b>",
"c": "<c>"
},
"name": "quadratic_solve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Coefficient a (must not be 0). | |
| b | Yes | Coefficient b. | |
| c | Yes | Coefficient c. |