Plan authoring
builtin__check_plan
Validates a plan written as YAML, optionally after applying a patch to it.
Checks
- Structure, templates, and every tool against the catalog.
- Agent steps list their tools;
agent__chatisn't used.
Patches
patchreplaces steps by id, removes ids, or setsinput_schemaoroutputbefore checking.
| Available to | Effect |
|---|---|
| Any agent or plan step | Read-only |
Input
patchstring
Optional YAML patch to apply first
pendingboolean
Answers that the plan has not taken in yet; the plan is not settled while true
searchstring[]
Tools the model asked to be searched for; the plan is not settled while any are pending
The plan as YAML
Output
searchstring[]
The tool searches still requested, including any written into the plan by mistake
Valid, with no search requested and no answers pending
- id: E1
tool_name: builtin__check_plan
input:
yaml: "{{input.yaml}}"