solve_quadratic
Computes the real and complex roots of a quadratic equation ax² + bx + c = 0 using the quadratic formula. Returns both roots or indicates if no real solutions exist. (cost: 1 credit)
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_quadratic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | number, required, coefficient of x² term (must be non-zero) | |
| b | No | number, required, coefficient of x term | |
| c | No | number, required, constant term |