asksteps: delete a form and its submissions
asksteps_delete_formDeletes a form or funnel from the connected account — together with every submission it has collected. Requires "forms:write". The first call NEVER deletes: it returns "confirmation_required" and the number of submissions that would be lost. Read that number out to the user, get their agreement, and only then call again with confirm = true. This cannot be undone.
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": {
"form_id": "<form_id>"
},
"name": "asksteps_delete_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true only AFTER the user has agreed, knowing how many submissions go with it. | |
| form_id | Yes | The form or funnel id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | One sentence for the user. On "confirmation_required" it says how many submissions would be lost — read that number out loud before asking. | |
| status | Yes | Outcome. One of: "deleted", "confirmation_required" (read the note and call again with confirm = true if the user really wants this), "not_connected", "not_found", "rate_limited" (too many calls in the last minute — wait a minute), "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. | |
| leadCount | No | How many submissions this form has collected. Deleting the form deletes them too. |