asksteps: start from a ready-made template
asksteps_create_from_templateCreates a form or funnel from one of the ready-made templates. Requires "forms:write". PREFER THIS over building from scratch when a template fits: it brings its design, its success page and its wording along — things the plain structure cannot describe. Call asksteps_list_templates first. Afterwards read the result with asksteps_get_form (template type "form") or asksteps_get_funnel (type "funnel") and change the texts with asksteps_update_form or asksteps_update_funnel. It is NOT published.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"template_id": "<template_id>"
},
"name": "asksteps_create_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new form. Leave empty to keep the template's own name. | |
| template_id | Yes | The template id, from asksteps_list_templates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link that opens this form or funnel directly in its builder in the asksteps studio (after the user signs in). 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), "permission_denied" (the connected user's role lacks the permission; the note names it), "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. |