solve_root
Calculate the numeric root of an equation f(x)=0 by entering the expression in x, with optional bracket or guess for convergence.
Instructions
When: numeric root of infix f(x)=0 (prefer over guessing). Params: expression in x; prefer bracket=[a,b]; else guess; angle_mode for trig in f. Example: expression="x^2-2", bracket=[0,2].
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": {
"expression": "<expression>"
},
"name": "solve_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guess | No | ||
| bracket | No | ||
| angle_mode | No | rad | |
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |