subst
Replace a variable in a polynomial with an expression to compute the resulting polynomial.
Instructions
Substitute a variable in a polynomial.
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": {
"pol": "<pol>",
"v": "<v>",
"expr": "<expr>"
},
"name": "subst"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | Yes | Variable to replace. | |
| pol | Yes | Polynomial. | |
| expr | Yes | Expression to substitute. |