jev_choice
Classify any text or state against a set of predefined options, then return the best match with confidence distribution to support routing decisions.
Instructions
Ultra-fast single-choice classification using Jev's Choice primitive. Evaluates context against predefined options and returns the winning selection with confidence distribution.
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": {
"context": "<context>",
"instruction": "<instruction>",
"options": "<options>"
},
"name": "jev_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | The context, text, or state to classify. | |
| options | Yes | Key-value dictionary of candidates where key is the option ID and value is the criteria description. Example: {"db": "Database failure", "network": "Connection timeout", "auth": "401 Unauthorized"} | |
| instruction | Yes | The routing or classification question. |