sum
Add any number of numbers together to compute their total. Input an array of numeric values and receive the exact sum in one call.
Instructions
Adds any number of numbers together. For several operations or chained steps in one call, use batch_calc.
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": {
"numbers": "<numbers>"
},
"name": "sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes | Array of numbers to sum |