Dive

Drafts

workbench__try_artifact

Runs a tool draft, or the plan in the plan pane.

Behavior

  • A tool runs once on a sample input, after you approve it. Name it when several tool drafts are open.
  • A tool whose env needs a secret that isn't set doesn't run: the result is status: missing_secrets, as with workbench__test_network.
  • A plan runs with its steps streaming to the pane. gated or breakpoints make it a debug run that pauses for you.
  • Agents and network plans are tried with workbench__test_network.
Available toEffect
Workbench agents onlyHas side effects

Input

breakpointsstring[]

Plans only: top-level step ids to pause at. Implies gated; the run proceeds until a breakpoint (or a failing call) and pauses for the USER.

gatedboolean

Plans only: debug run, pausing for the user's decisions and breaking on errors. Default false.

inputobject

A tool's sample input matching its input_schema, or a plan's input validated against its input_schema

kindenum<string>required

What the draft is

Available options: plan, agent, tool

namestring

Tools: which tool draft, when there are several

purposestring

Tools: one sentence the user reads before approving the run, saying what it checks, e.g. "Check it returns README.md's text and refuses a path outside the project."

On this page