get_doc_blocks
Retrieve the structured block tree of a Feishu document, including block types, content, and hierarchy, for precise document analysis.
Instructions
[Official API] Get structured block tree of a document. Returns block types, content, and hierarchy for precise document analysis.
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": {
"document_id": "<document_id>"
},
"name": "get_doc_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Document ID (from search_docs or create_doc) |