Browse the docs

AI check

Passes when an AI model answers yes to your question.

AI says yes to prompt

Details #

Asks a model a yes or no question (prompt) and passes on yes. An optional schema shapes the model's answer.

Every condition accepts "negate": true, which flips the verdict. The trace records what was compared before the flip, so a negated condition that blocks a macro still shows the real values.

Parameters #

ParameterTypeRequiredValuesWhat it does
prompttextYesThe question, which may use {{ }} expressions.
dryRunUsesModelyes / no
modeltext
presettextAn AI preset from Settings › AI (its id), or default. Without it the older provider and model apply.
providertext, model: auto, device or cloud with haiku or sonnet; or a provider id with a model name.
sampleany value
schemarecordA JSON schema for the answer.

Examples #

Only if the clipboard looks like an invoice
When
  1. Press ⌃⌥J
Only if
  1. If AI says yes to “Does this text look like an invoice?…”
Do
  1. Show “Invoice detected”
Open in Switchboard to try it

See also #