asksteps: create a new form in the connected account
asksteps_create_formCreates a new form in the connected asksteps account from a structure of steps and fields. Requires "forms:write". The form is created but NOT published — publishing stays with the person who owns the account. Do not use this to rebuild a PDF: asksteps_analyze_pdf only shows you part of a document, so the copy would be silently incomplete. For a PDF, tell the user to import it in the asksteps studio, where the fields stay wired to the original document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The form to create: name, steps and fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link that opens the form in the asksteps studio. Give it to the user so they can look at the result. 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. | |
| formId | No | The id of the form. Keep it — it is how you read or change the form later. | |
| status | Yes | Outcome. One of: "created", "updated", "not_connected", "not_found", "invalid_spec" (the structure was rejected — the note says exactly what to fix), "not_editable" (this form cannot be written from a spec), "unavailable", "error". Authorisation can also refuse before the tool runs: "plan_required" (the account's plan does not include agent access), "not_enabled" (the account owner has not switched agent access on), "owner_required" (only the account owner may do this), "mandate_required" (the owner has not granted a mandate for this). The note then says what the user has to do. | |
| stepCount | No | Number of steps the form ended up with. | |
| fieldCount | No | Total number of fields across all steps. |