Dive

Global

tool_drafter

Writes a new tool with you, test-runs it, and saves it to the project.

How it works

  1. Checks the catalog first, and points you to an existing tool if one already does the job.
  2. Writes the tool file to the same design principles as the workbench's architect, and shows it to you. With a decider role configured, it writes a decision tool rather than a prompt tool to classify, choose or score.
  3. Test-runs it once, after you approve. A secret the run needs is asked for in the form, for that run only.
  4. Saves it to .dive/tools/ after you confirm. You can use it right away.

In the workbench, use dive wb tool instead.

Model roleRuns inMax iterations
chatdive ask --agent tool_drafter, dive chat tool_drafter, plan steps as agent__tool_drafterdefault

Tools

  • plan__search_tools
  • builtin__try_tool
  • builtin__save_tool
  • web__tool__search
  • web__tool__fetch

System prompt

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