Pick one option
jev_choiceUse this when you need to route or triage something into one of a fixed set of options, such as answer, escalate or ignore. Asks Jev to pick one option. Returns the chosen key, the probability of every option, and a confidence score. A high confidence can still be wrong, so keep an escalation path. The wording of your options decides the answer: measured on 137 real Slack questions, a vague option set sent 26% of them to the wrong branch at confidence below 0.7, and describing the same three options precisely cut that to 2%. Say what each option MEANS and what it does NOT cover, and never let one option become the place hard questions go. Images are experimental and read weaker than text, so put what matters in the text too. Runs on SingleBrain's account: from 1 credit a call.
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": {
"instructions": "<instructions>",
"options": "<options>"
},
"name": "jev_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | One of: jev-1.13.0, defaults to jev-1.13.0 | |
| state | No | The state to route: the inbound message, ticket, or record. Optional when an image is passed. | |
| images | No | Several images to judge together, at most 8, at most 6 MB in total. Each entry: one of base64 or url. Not with image_base64 or image_url. | |
| options | Yes | Map of option key -> a full sentence saying when it applies, and where useful what it does NOT cover. One clause is not enough. Good: {"answer": "the agent answers it itself, including analysis, summarising a call, rating work, or giving a blunt opinion; difficulty is not a reason to pass it on", "escalate": "the agent is not PERMITTED to handle it: it needs sign-off, commits money or contract terms, or the asker wants a human", "ignore": "no answer is wanted: a thank-you, a joke, or chatter not aimed at the agent"}. Bad: {"answer": "routine question", "escalate": "needs a human", "ignore": "spam"}. That set escalated 35 of 137 real questions that the agent answered perfectly well. | |
| image_url | No | A public http(s) link straight to a PNG, JPEG, WebP or GIF. Not a page. Must be reachable without a login. | |
| image_base64 | No | One image to judge, as base64 of a PNG, JPEG, WebP or GIF file, with or without a data: prefix. At most 6 MB decoded. Not a URL. Not with images. | |
| instructions | Yes | What the decision is. Example: "How should the agent handle this message?" |