solve_algebraically
Solve algebraic equations symbolically for a specified variable across domains like complex, real, integers, or naturals. Outputs solutions in LaTeX format or error messages if invalid.
Instructions
Solves an equation (expression = 0) algebraically for a given variable.
Args:
expr_key: The key of the expression (previously introduced) to be solved.
solve_for_var_name: The name of the variable (previously introduced) to solve for.
domain: The domain to solve in: Domain.COMPLEX, Domain.REAL, Domain.INTEGERS, or Domain.NATURALS. Defaults to Domain.COMPLEX.
Returns:
A LaTeX string representing the set of solutions. Returns an error message string if issues occur.
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": {
"expr_key": "<expr_key>",
"solve_for_var_name": "<solve_for_var_name>"
},
"name": "solve_algebraically"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | complex | |
| expr_key | Yes | ||
| solve_for_var_name | Yes |