Dive

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__chat isn't used.

Patches

  • patch replaces steps by id, removes ids, or sets input_schema or output before checking.
Available toEffect
Any agent or plan stepRead-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

yamlstringrequired

The plan as YAML

Output

planobject | nullrequired
problemsstring[]required
settledbooleanrequired

Valid, with no search requested and no answers pending

validbooleanrequired
yamlstringrequired
- id: E1
  tool_name: builtin__check_plan
  input:
    yaml: "{{input.yaml}}"