delete_doc_blocks
Remove specific content blocks from a ClickUp Doc by providing team, doc, and block IDs. Clean up documents by deleting unwanted sections directly.
Instructions
Delete content blocks from a ClickUp Doc.
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": {
"team_id": "<team_id>",
"doc_id": "<doc_id>",
"block_ids": "<block_ids>"
},
"name": "delete_doc_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | The ID of the doc | |
| team_id | Yes | The ID of the team (workspace) | |
| block_ids | Yes | Array of block IDs to delete |