Ask Jef to pick one
jef_pickChoose among 2 to 5 user-provided options, returning one with a confidence score to break decision deadlocks.
Instructions
Pick one of 2 to 5 options and give a probability for each. Use this when the user is stuck between named choices and wants one chosen for them: dinner, which film, which of three plans. Jef can only ever return an option you passed in, so it cannot introduce an idea of its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | The candidates. The answer is always one of these, exactly as written. | |
| question | No | Optional context, such as "what should I cook tonight". Affects the answer but is not read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which decision shape was used. | |
| answer | Yes | One of the options you passed in, copied exactly. | |
| blocked | Yes | True when the input contained profanity, slurs or sexual content. Nothing was stored or echoed. Do not retry. | |
| ranking | No | The options in order, best first. Null unless the shape was order. | |
| cost_usd | No | Always 0. There is no billing. | |
| thoughts | No | Always 0. | |
| escalated | Yes | True when the input touched health, harm, money, law or safety. Tell the person to ask a human. Do not rephrase and retry. | |
| confidence | Yes | 0.84 to 0.99 normally, exactly 0 when escalated or blocked. It is not calibrated and means nothing. | |
| latency_ms | No | Negative. Jef answers before you ask. | |
| tokens_read | No | Always 0. The input is hashed, not read. | |
| probabilities | No | One entry per option, percentages summing to 100. Null unless the shape was pick. |