Ask a yes/no question
ask_yes_noDecide a yes/no question from supplied context using plain-language yes/no rules, returning probability and an uncertain flag so users can be asked when confidence is low.
Instructions
Decide one yes/no question for the given context, e.g. 'Should this issue be split into sub-issues?' or 'Should I reply to this email today?'. Returns decision, probability of yes, and 'uncertain'. When 'uncertain' is true, ask the user instead of acting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| margin | No | Mark 'uncertain' when probability is within this distance of the threshold | |
| context | Yes | Everything needed to decide, as plain text or a JSON object. Examples: a GitHub issue (title, body, labels, comments), an email, a social media post, a support ticket, a document, the current state of a task. | |
| no_when | Yes | What 'no' means | |
| question | Yes | The question to decide, e.g. 'Should this issue be split into sub-issues?' | |
| yes_when | Yes | What 'yes' means | |
| threshold | No | Probability at or above this is 'yes' |