Dive

MCP server tools

dive_plan_step_add

Adds a step to a plan, at the end or before or after another step.

Behavior

  • Refused if the step references anything other than input or an earlier step.
  • Mirrors dive plan step add.
Available toEffect
MCP clients of dive mcp serveNot marked read-only

Input

afterstring

Insert after this step id instead of appending.

beforestring

Insert before this step id instead of appending.

idstringrequired

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

inputobjectrequired

The step's input object. Leaf strings may be templates over earlier results, e.g. {{E1.field}} or {{input.x}}.

reasoningstring

Why this step exists, carried into the plan for readers.

targetstringrequired

A plan identifier (as in plan list) or a path to a plan YAML file.

toolstringrequired

A tool name from dive_tools_list, or a control step: exit, agent, ask, route, filter, map, reduce.

On this page