calc
Evaluate Python expressions for arithmetic and statistical computations using pre-loaded math and statistics functions.
Instructions
Eval Python expressions -> list. Pre-loaded: math, statistics (mean/median/stdev/variance), abs/round/min/max/sum/range/sorted.
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": {
"expressions": "<expressions>"
},
"name": "calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expressions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |