jev_pick
Choose one candidate from a list you already have, returning one pick or null with relative probabilities and per-candidate fit scores to avoid guessing.
Instructions
Choose one candidate from a list you already have — grep hits, symbols, failing test names, file paths — instead of guessing. One Choice over the candidate ids plus a none escape hatch, and one absolute yes/no per candidate.
Use it after a search has produced the candidates. It cannot invent a value: pick is always one of your ids or null.
probabilities are relative (they sum to 1 across candidates and none); fits is absolute per candidate. Read both: a confident pick whose fits is under 0.3 is the nearest miss, not a match.
Up to 240 candidates in one call. Keep each text to what identifies it (the matching line plus a little context); for ranking many long passages use jev_rank.
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": {
"question": "<question>",
"candidates": "<candidates>"
},
"name": "jev_pick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | What you are choosing, e.g. 'Which grep hit is the definition of parseConfig?' | |
| candidates | Yes | The candidates to choose among, 2 to 240. Ids must be unique and none may be 'none'. | |
| none_label | No | What it means for no candidate to be the one. Defaults to a generic description. | |
| thresholds | No | Override the server's configured gating thresholds for this call only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fits | Yes | Absolute per candidate: P(this is exactly what the question asks for), on its own. | |
| gate | Yes | auto/review/escalate on the Choice `confidence`. | |
| pick | Yes | The id of the chosen candidate, or null when `none` won. | |
| model | Yes | The versioned model id that actually answered. | |
| usage | Yes | Token usage. Jev charges for input tokens only. | |
| confidence | Yes | How peaked the Choice distribution is, 0..1. Gates on this, not on `fits`. | |
| latency_ms | Yes | Wall-clock time for the underlying API call(s), including retries. | |
| probabilities | Yes | Relative: P(each candidate is the one) plus `none`, summing to 1 across all of them. |