Ask Jev about one state
jev_askAsk typed yes/no, choice, or score questions about a single state such as a diff, log, or file in one call, and get back a verdict, probability, and decision (auto, confirm, or review).
Instructions
ONE state, N questions: ask every typed question (noul yes/no p, choice label, score level) about one state in one call; answers come back with verdict, p and decision (auto | confirm | review). Use for: judging one failure log, one diff, one file, one command. For many items use jev_batch. Or run a recipe: {recipe:"classify"|"decide"|"verify_claim"|"rerank"|"self_consistency"|"find_lines"|"locate", args}. Not for: counting, dates, arithmetic, test pass/fail (exit code), summaries, judging whether a bug report is real or a patch fixes it. Refs instead of pasting: "$file:a.ts#L1-80", "$diff", "$log:x.log". If it returns unavailable / rate_limited / budget_exceeded, judge inline; do not retry in a loop. Example: {state:{diff:"$diff:staged"}, questions:{leak:{type:"noul",instructions:"Does diff add a hardcoded credential?"}}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments of the recipe. | |
| cache | No | Use the response cache (default true). | |
| state | No | What the questions are about: a string, or an object/array with named fields. Refs are expanded on the server, never paste files: "$file:src/a.ts#L10-80", "$diff" (uncommitted) / "$diff:staged" / "$diff:<ref>", "$log:test.log". Name untrusted fields untrusted_*. | |
| detail | No | Add probabilities and routing reasons (more tokens). | |
| images | No | Images by placeholder like "<shot>", written inside a state string. Off unless the user set JEV_IMAGES=1. | |
| preset | No | Decision preset: gate (default) | triage | review_filter | strict. Thresholds live in config. | |
| recipe | No | Run a named recipe instead of raw questions; pass its args. See instructions for one example each. | |
| questions | No | Questions by unique name (names are never shown to the model). Put every question about this state in one call. | |
| long_context | No | Long-context header (262k tokens, slower, less accurate). "auto" uses it only when over the 64k/32k limits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| error | No | Only on a failed call (isError): kind, message, fix, retryable, plus cause / loc / status / request_id when known. | |
| model | No | ||
| usage | No | ||
| recipe | No | ||
| answers | No | ||
| warnings | No | ||
| model_overridden | No | ||
| secrets_redacted | No |