Dive

Drafting

builtin__try_tool

Test-runs a drafted tool once, before it's saved.

  • Checks the tool file, then asks you to approve the run.
  • Runs it on the sample input and records its output shape.
Available toEffect
Any agent or plan stepHas side effects

Input

inputobjectrequired

Sample input for one run, matching the tool's input_schema

purposestringrequired

One sentence the user reads before approving: what this run checks, e.g. "Check it returns README.md's text and size."

yamlstringrequired

The whole user tool file

Output

is_errorboolean
problemsstring[]
ranbooleanrequired
reasonstring
shapeobject
- id: E1
  tool_name: builtin__try_tool
  input:
    yaml: "{{input.yaml}}"
    input: "{{input.input}}"
    purpose: "{{input.purpose}}"