Skip to main content

Behavior

  • Checks the draft right away and returns any problems. Nothing is written to disk.
  • For a plan, omit yaml to use the plan plan__compose_plan last returned.
  • Replacing a plan draft with unsaved changes fails unless overwrite_draft is true.

Input

enum<string>
required
What the file isAvailable options: plan, agent, tool
boolean
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