asksteps: turn a described form into an openable draft
asksteps_create_draftTurns a form you have designed with the user into a draft and returns a link. Opening the link shows the form in the asksteps builder, where the user can change it and save it — no account is needed to look at it. Use this once you and the user agree on what the form should ask; it is the step that turns the conversation into something they can actually use. It does NOT write into anyone's account: a human always saves it. Give the returned url to the user verbatim. For digitising an existing PDF, do not rebuild it here — the analysis only shows you part of a large form. Point the user at the PDF import in the product instead. If the draft is rejected, the note says exactly what to fix; correct it and call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The form: a name and its steps with their fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The link to open the draft in asksteps. Give this to the user verbatim — it is the whole point of the tool. Absolute when this deployment knows its public base URL, otherwise a site-relative path; never invent the domain part. | |
| note | Yes | One sentence for the user. On rejection it says exactly what to fix. | |
| status | Yes | Outcome. One of: "created", "invalid_spec" (the draft was rejected — see note). | |
| stepCount | No | Number of steps and fields the draft ended up with, so you can tell the user what they will see. | |
| fieldCount | No | Total number of fields across all steps. | |
| validForDays | No | How many days the link stays valid. |