Dive

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

NAME|PATHstringrequired

The plan's identifier or YAML file path

IDstringrequired

Step id — how later steps reference it as {{<id>.field}}

TOOLstringrequired

Tool name, or a control step: exit, agent, ask, route, filter, map, reduce

JSON|@FILE|-stringrequired

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.

--beforestring

Insert before this step id instead of appending

Format: ID.

--afterstring

Insert after this step id instead of appending

Format: ID.

--jsonboolean

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|->