dive plan step
dive plan step add
Append a step, or anchor it before/after an existing one
Adds one step and validates the plan. The edit is refused if it adds a validation problem.
Arguments
The plan's identifier or YAML file path
Step id — how later steps reference it as {{<id>.field}}
Tool name, or a control step: exit, agent, ask, route, filter, map, reduce
The step's input object: inline JSON, @file.json, or - for stdin
Options
Why this step exists (carried into the plan for readers)
Format: REASONING.
Insert before this step id instead of appending
Format: ID.
Insert after this step id instead of appending
Format: ID.
Print a JSON envelope instead of text
Global options
Increase log verbosity (-v info, -vv debug, -vvv trace)
Act as this [identities] entry: runs get a run token minted for its tenant and user, which http tools send to the app
Format: IDENTITY.
dive plan step add [OPTIONS] <NAME|PATH> <ID> <TOOL> <JSON|@FILE|->