mode
Calculates the most common number in a list to identify the value that occurs most often in a data set, revealing the statistical mode of your data.
Instructions
Finds the most common number in a list of numbers. 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": "mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes | Array of numbers to find the mode of |