get_task_status
Get a model-friendly status and recommended next action for a Fluxion run, with optional long-polling to wait for a terminal state.
Instructions
Get model-friendly status and next action for a Fluxion run.
The default response is compact for polling. It includes the run status, terminal/cancel hints, progress_signal, recent_output_tail, log freshness, and next_action. Pass detail=true to include the full status view with repeated metadata such as timestamps, subagent metadata, changed_files, diff_summary, artifacts, and change_set_file.
Pass wait_ms > 0 to long-poll: the call blocks until the run reaches a terminal status or the wait elapses, then returns. wait_ms is capped at FLUXION_MCP_STATUS_MAX_WAIT_MS (default 60000 = 60s) to stay under the MCP client's per-call request timeout, so a still-running task just returns RUNNING — call again to keep waiting. This collapses a busy-poll loop into one blocking call per cap. Raise the env var if your client tolerates longer requests (set it to the client's tool timeout minus a margin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| run_id | Yes | ||
| wait_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||