solve
Solves an equation for a specified variable, returning all real and complex solutions. Provide equation in the form 'lhs = rhs'.
Instructions
Solves an equation for a variable. Format equation as 'lhs = rhs' (e.g. 'x^2 - 4 = 0'). Returns all solutions including complex ones. Examples: 'x^2 - 4 = 0' with variable 'x', 'x^3 - 6x^2 + 11x - 6 = 0' with variable 'x'
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": {
"equation": "<equation>",
"variable": "<variable>"
},
"name": "solve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equation | Yes | Equation string containing '=', e.g. 'x^2 - 4 = 0' | |
| variable | Yes | The variable to solve for, e.g. 'x' |