run_workflow
Execute a scripted pipeline of macro steps with optional screenshots, supporting progress updates and configurable error handling.
Instructions
Run a scripted pipeline: each step runs a macro, optionally followed by a screenshot. Supports MCP progress when the client requests it. Use verify_each_step=false for faster runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Each step: {"macro", "screenshot_after", "screenshot_capture": "full_screen"|"active_image"|"results_table"}. Defaults use active_image screenshots (headless-safe); use full_screen only with GUI Fiji. | |
| verify_each_step | No | If true, append screenshot after each step when screenshot_after allows. | |
| continue_on_error | No | If false, stop after the first failing step and return partial results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True if every step succeeded. | |
| results | No | ||
| total_steps | No | Set on full completion summary. | |
| failed_steps | No | Count of failed steps on full summary. | |
| completed_steps | No | On early abort, number of fully completed steps before the failure. | |
| failed_step | No | On early abort, 1-based index of the first hard failure. |