aiworkhub_agent_accept_preview
Checks a worker request for cheap acceptance blockers—such as pending lens runs, missing review_ready status, or absent approval—before any work is done. Read-only; writes nothing.
Instructions
READ-ONLY: what would block aiworkhub_agent_accept_review right now, before any work.
Use this for the cheap accept blockers of one candidate; use aiworkhub_review_packet for that candidate's full review evidence.
Measured 2026-09-08: 49 of 159 accept attempts (31%) failed on a blocker that was knowable in advance -- a required lens still running, a target not yet review_ready, an approval not given -- but only after the combined tree had been materialized and two validation runs paid for. This folds exactly those cheap blockers and writes nothing.
A clear preview is NOT an acceptance and NOT a promise of one. The
expensive half -- combined tree, declared validations, mechanical gate,
reviewer receipt verification by request id -- runs only in aiworkhub_agent_accept_review
and can still refuse. blocked False means only that nothing cheap is
refusing yet. Leave requested_risk_tier unset to read the tier the
finalizer measured; an explicit value can only raise it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "aiworkhub_agent_accept_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | Id of the task card that request belongs to; required. | |
| request_id | No | Id of the worker request to accept; it must be in review_ready state. Omit to resolve the card's current review request from task_id (the reply's request_id_source says which). | |
| confirm_high_risk | No | Set true to give the explicit human approval that high or critical risk tiers require; default false. | |
| requested_risk_tier | No | Risk tier to review at; omit to use the tier the finalizer measured for this candidate. An explicit value can only raise the tier, never lower it. | |
| reviewer_request_ids | No | Reviewer request ids to verify; omit to use every verified reviewer bound to this request and task, and pass [] to exclude all reviewers. | |
| confirm_destructive_change | No | Set true to accept a candidate whose diff failed a destructive-change check; otherwise accept is refused with destructive_diff_requires_manager_confirmation. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||