compose_plan plan over your tool catalog: it finds the tools the goal needs, writes the whole plan in one call, and fixes steps that fail validation. When it had to guess a value that decides what the plan returns, it asks you in the terminal first.
Problems it couldn’t fix are listed under problems. When no tool in the catalog can do part of the goal, nothing is written and the result lists what is missing.
Drafting replaces every step. To correct a plan whose steps you want to keep, use graph plan set and the graph plan step commands.
Arguments
string
required
What the plan should do, as a self-contained instruction
Options
string
Draft into this plan’s identity (identifier, name, description, input schema). Every step is replaced — use the editing commands to correct a plan whose steps you want to keepFormat:
NAME|PATH.string
Write here instead of <plans dir>/<identifier>.yamlFormat:
PATH.boolean
Print the drafted YAML to stdout instead of writing a file
boolean
Print a JSON envelope instead of text
Global options
integer
Increase log verbosity (-v info, -vv debug, -vvv trace)