sympy_sum
Compute the sum of a symbolic expression over a specified variable and bounds.
Instructions
Compute a sum.
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": {
"expr": "<expr>",
"variable": "<variable>",
"lower": "<lower>",
"upper": "<upper>"
},
"name": "sympy_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | String expression to sum | |
| variable | Yes | Summation variable | |
| lower | Yes | Lower bound | |
| upper | Yes | Upper bound |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |