aiworkhub_environment_preflight
Check repository, policy, Source Graph, and provider readiness before launching workers; confirm the environment is ready to avoid failed runs.
Instructions
READ-ONLY: unified repository/policy/Source Graph/provider readiness. Use before launching workers to confirm readiness; use aiworkhub_doctor_diagnose when something is already failing.
Provider access is reported as observed only when an adapter-specific
bridge or credential readiness source proves it; installed CLI binaries
alone remain installed_unverified_access.
detail="summary" (default) folds Source Graph's refresh-job report to
identity plus state, providers to a flat {adapter_id: status}
map, provider_route_contracts.route_families to one
{family, status, count} row each, policy to its verdict fields,
worker_finalization to its state fields, and each of
provider_summary's route/capability lists and its
route_status_questions block to a count plus a short id preview (or
identity); with adapter_id given, providers and
provider_observability.adapters/providers are filtered to that
adapter. detail="evidence" behaves like "full": both return
repo_policy.build_preflight exactly.
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_environment_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | summary (default) folds the report to counts and short previews; evidence and full both return the complete report. | summary |
| adapter_id | No | Optional provider adapter id to check and to narrow the provider report to; an unsupported id adds selected_adapter_unsupported to errors. Omit to report every adapter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||