np_histogram
Compute the histogram of input data by binning values, with options for bin count and range to analyze distribution.
Instructions
Compute the histogram of a set of data.
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": {
"array": "<array>"
},
"name": "np_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | Input data. | |
| bins | No | Number of bins or bin edges (default: 10). | |
| range | No | The lower and upper range of the bins (default: [min, max]). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||