Drafting
builtin__save_tool
Saves a drafted tool to the project's tools directory and loads it immediately as `user__<name>`.
- The tool must pass
builtin__try_toolfirst, unlessuntestedis true. - Won't replace an existing file unless
overwriteis true.
| Available to | Effect |
|---|---|
| Any agent or plan step | Has side effects |
Input
overwriteboolean
Replace an existing file with the same name, only after the user confirms
untestedboolean
Save without a test run, only when the user said not to test it
The whole user tool file, exactly as tested
Output
errorstring
pathstring
problemsstring[]
savedstring
untestedboolean
- id: E1
tool_name: builtin__save_tool
input:
yaml: "{{input.yaml}}"