Delete a block
delete_blockDestructive: Delete one block from a script. Skip logic and piped variables that reference this block become invalid, and they fail at runtime rather than here. Always run validate_script afterwards.
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": {
"project_id": "<project_id>",
"block_id": "<block_id>"
},
"name": "delete_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes | Block id, from get_script. | |
| project_id | Yes | Project id, from list_projects or create_project. |