delete_block
Remove a block from active survey content, with confirm: true. Moves the block and its questions to recoverable survey trash — restore with edit_block.restore_from_trash.
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": {
"block_id": "<block_id>",
"confirm": "<confirm>"
},
"name": "delete_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. The block and its questions move to recoverable survey trash, not permanent deletion — but require explicit confirmation before removing them from the active survey. | |
| block_id | Yes | Block UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |