Behavior
- Checks the draft right away and returns any problems. Nothing is written to disk.
- For a plan, omit
yamlto use the planplan__compose_planlast returned. - Replacing a plan draft with unsaved changes fails unless
overwrite_draftis true.
Input
enum<string>
required
What the file isAvailable options:
plan, agent, toolboolean
Plans only: discard unsaved changes to the current plan draft, only after the user confirms
string
The whole file. Required for an agent or tool; omit it for a plan to publish what plan__compose_plan returned
Output
string
integer
string