Delete block
delete-block-toolRemove a block from a form's draft. Only affects the draft — respondents see the change after publish-form-tool.
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_slug": "<form_slug>",
"block_id": "<block_id>"
},
"name": "delete-block-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Required to be true to confirm removing a block that already has submission data (the tool returns has_data otherwise). Ask the user before forcing. | |
| block_id | Yes | The id of the block to remove, from get-form-tool. | |
| form_slug | Yes | The form's slug. |