polynomial_ops
Evaluate, differentiate, integrate, add, or multiply polynomials with coefficients ordered highest degree first; evaluate at a given x value when needed.
Instructions
Perform polynomial operations: evaluate, derivative, integral, add, or multiply. Coefficients are highest degree first.
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": {
"operation": "<operation>",
"coefficients": "<coefficients>"
},
"name": "polynomial_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Point to evaluate at (for evaluate operation) | |
| operation | Yes | Operation to perform | |
| coefficients | Yes | Polynomial coefficients, highest degree first | |
| coefficients2 | No | Second polynomial for add/multiply |