expand
Expands algebraic expressions like (x+1)^3 into their expanded form. Provide any SymPy-compatible expression to see the complete expansion.
Instructions
Expand a mathematical expression.
Args:
expression: SymPy-compatible expression.
Examples: "(x+1)**3", "(a+b)*(c+d)"
Returns:
Standard result dictionary containing the expanded expression.
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": "expand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||