Dive

Workbench

tool_drafter (workbench)

Builds one tool node of the architect's sketch as a user tool file and test-runs it.

  • network_drafter and network_editor run it as a subagent; it never talks to you.
  • In an edit session, either patches one change or reworks one portion of the opened file to network_editor's mini-sketch, keeping everything else byte-identical, name and interface included.
  • Applies the same design principles as network_drafter, decision models first.
  • Test runs need your approval.
  • Returns a question instead of guessing a value only you know.
Model roleRuns inMax iterations
drafterdive ask --agent tool_drafter, dive chat tool_drafter, plan steps as agent__tool_drafterdefault

Tools

  • workbench__set_artifact (pre-loaded)
  • builtin__open_network (pre-loaded)
  • workbench__try_artifact (pre-loaded)
  • workbench__show_artifact (pre-loaded)
  • web__tool__search
  • web__tool__fetch

Input

nodestringrequired

The name of the sketch node to draft, as the sketch names it

notesstring

What the architect learned that the sketch doesn't say, or what to fix after a failed test

answersstring

The user's answers to questions this builder returned earlier

Output

statusenum<string>required

drafted: the draft is in the pane; question: the sketch leaves something only the user can settle; failed: it can't be built as sketched

Available options: drafted, question, failed

summarystringrequired

One or two sentences on what was drafted, or why not

problemsstring[]

Problems the draft still has

questionsstring[]

With status question: what to ask the user, each with your guess

System prompt

dive agent show tool_drafter > .dive/agents/tool_drafter.yaml