Expand description
The for-each block: runs its body block once per item of a list (docs/specs/SPEC_DRONE_GENERAL_AUTOMATION_2026_11_11.md §3.1).
The body is a block of the graph with no edges of its own (schedule.rs
checks that), so the scheduler leaves it alone and this runs it with
{{item}} and {{index}} set. The output is
{ "results": [..], "errors": [..], "count": n, "capped": bool }:
results holds each finished body’s output in order, errors the items
that failed when on_item_error is continue.
Items run one at a time. Every limit is hard and ends the run with a reason
in plain words (on_cap: exit_loop goes on instead, with capped set):
max_items (100, at most 1,000), the run’s dollar cap, and the loop’s own
max_cost_usd and max_minutes.