edit_block
Create, update, reorder, or configure a block. Use create without block_id to add a block. To remove one, use delete_block instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "edit_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New block name | |
| create | No | Create a new block in a survey (omit block_id) | |
| block_id | No | Block UUID. Omit when using create. | |
| configuration | No | Block-kind configuration patch — use get_mcp_schema module=block kind=<block_kind> | |
| reorder_in_survey | No | Replace the survey's block order (works on its own, without block_id). Only for a linear Flow: if the Flow has branches, randomizers, or Logic Splits it is refused rather than erasing them, and edit_flow flow_block_order changes the order instead. | |
| restore_from_trash | No | Restore one recoverable block, with its questions, from the survey's trash |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |