create_doc_blocks
Create structured content blocks in ClickUp Docs by specifying team ID, doc ID, and block array. Add paragraphs, headings, and other elements to build documents programmatically.
Instructions
Create content blocks in 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>",
"blocks": "<blocks>"
},
"name": "create_doc_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | Yes | Array of block objects to create | |
| doc_id | Yes | The ID of the doc | |
| team_id | Yes | The ID of the team (workspace) |