doc_update_block
Update a specific block's content in a Feishu document by providing the document ID, block ID, and the appropriate update field for the block type.
Instructions
更新飞书文档中指定块的内容(PATCH)。update_text_elements 用于文本块;其他块类型传对应的 update_* 字段
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>",
"block_id": "<block_id>",
"update": "<update>"
},
"name": "doc_update_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| update | Yes | 更新内容对象,如 {"update_text_elements":{"elements":[{"text_run":{"content":"新内容"}}]}} | |
| block_id | Yes | 要更新的块 ID | |
| document_id | Yes | 文档 ID |