rank_numbers
Determine the position of each number in a list when sorted, handling ties appropriately to show relative rankings.
Instructions
Get the rank (1-based position) of each number in a list when sorted. Handles ties appropriately. (Domain: arithmetic, Category: comparison)
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": "rank_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes |