percentile
Calculate the pth value in a numeric dataset, revealing the score at or below which a given percentage of data falls.
Instructions
Calculate the pth percentile of a dataset.
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>",
"p": "<p>"
},
"name": "percentile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | Yes | ||
| numbers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |