mean
Calculates the arithmetic average of a list of numerical values and returns the result for statistical analysis.
Instructions
Computes the mean of a list of numbers.
Args: data: A list of numerical values.
Returns: On success: {"result": } On error: {"error": }
Examples: >>> mean([1, 2, 3, 4]) {'result': 2.5} >>> mean([10, 20, 30]) {'result': 20.0}
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": {
"data": "<data>"
},
"name": "mean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |