rank_options
Rank a list of options against a single criterion, returning a probability per option for choosing files, tools, model tiers, or reordering search results.
Instructions
Rank a list of options against one criterion, in a single call.
Cheaper and faster than asking a chat model to sort them, and it returns a probability per option rather than an opinion. Good for choosing a file, a tool, a model tier, or reordering search results.
options: up to 255 choices. criterion: what makes one option better, as a plain statement. context: whatever the options should be judged against.
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": {
"options": "<options>",
"criterion": "<criterion>"
},
"name": "rank_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| options | Yes | ||
| criterion | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |