advise_land_gate
Get a decision model's advice on a reviewed task hand-off, returning ten probability-weighted yes/no judgments and a green, amber, or red land signal without approving or closing.
Instructions
Ask a decision model (TypeSafe's Jev, OpenAI's Decisions API, Google's Gemini Decisions API, Perplexity's Decisions API or Cloudflare's Clef) for advice on a task handed to review. Maidan sends the task's title, description and acceptance, its result and what the agent said, and returns ten yes/no judgments, each with a probability (does what the task asks, reports tests passing, the task asks for a code change, reports a failure, left work undone, asks a person, changes something not asked for, changes sign-in or permissions, deletes data, warns of a risk), plus land: green, amber or red by fixed rules. An unsettled judgment never counts toward green. Advice only: it does not write the gate, approve or close. NotFound when the instance offers no advice; the workspace needs a key for the provider asked unless the instance has one. Requires thread:transition.
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": {
"thread_id": "<thread_id>"
},
"name": "advise_land_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Ask the model again even when an answer for this exact hand-off is held. | |
| provider | No | Which provider to ask. Omitted, the first one the workspace has a key for, in this order. | |
| thread_id | Yes |