Make a plan
create_planTurn one sentence into an execution plan from the ABS knowledge base: phases, steps, schedule, forms and sources, plus what the knowledge base does not cover. Returns the plan code at once with status generating; building takes a minute or two, so call get_plan with that code about every 20 seconds until status is draft. Saved as a draft the user reviews and submits in ABS. Uses the account's credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Answer language: zh (Chinese) or en (English) | |
| question | Yes | What to achieve, in one sentence, e.g. 'Run a kaizen week to raise first-pass yield' | |
| start_date | No | Start date, YYYY-MM-DD (default: from the request, or the next working start) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Where the user reviews and submits it in ABS | |
| code | Yes | Plan code, e.g. DRF-20261015-0001 | |
| error | No | Why it failed, when status is aborted | |
| status | Yes | generating while ABS is still building it (check again with get_plan), draft when ready, aborted or stalled when it failed, submitted once the user submits it in ABS | |
| markdown | No | The plan in Markdown: phases, steps, schedule, forms, sources, coverage and gaps | |
| progress | No | Stages done so far, while generating | |
| question | Yes | The request the plan was made from | |
| no_flow_reason | No | Why no ready-made flow fitted, when that happened |