Factor
factorFactor a polynomial into irreducible factors. Input polynomial (e.g., "x^2-1" or "x^2+3x+2"). Returns factored form.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expression": "x^2-1"
},
"name": "factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Polynomial expression to factor (e.g., "x^2-1", "x^2+3x+2") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input polynomial expression | |
| result | Yes | Factored form of the polynomial or null | |
| operation | Yes | Operation name (factor) |