Drafts
workbench__load_artifact
Opens an existing plan, agent or tool as a node of the network draft, or a plan in the plan pane when there's no sketch and no items being edited.
Behavior
- Opens user tools, built-in tools (
builtin__<name>) and a pack's tools (<pack>__tool__<name>), and agents and plans wherever they come from. - Saving the network later writes the item back: to its own file, to a project override for a built-in, or to the pack's installed copy for a pack's item, which
dive pack updatereplaces. - In a thread that is already editing items, needs a
reasonand asks you to approve attaching the item before it opens. - Loading a plan into the plan pane over a draft with unsaved changes fails unless
overwrite_draftis true.
| Available to | Effect |
|---|---|
| Workbench agents only | Read-only |
Input
What to open
Available options: plan, agent, tool
A plan identifier or plan file path, an agent's name, or a tool's name: user__<name> or a bare name, builtin__<name>, or <pack>tool<name>
overwrite_draftboolean
Plan pane only: load over a plan draft with unsaved changes, only after the user confirms discarding them
reasonstring
Why this item belongs in the edit, in a sentence the user reads when approving it. Required while the thread is editing items