feishu_insert_image
Insert images into Feishu documents using file tokens obtained from Feishu uploads. Specify document ID, file token, dimensions, and optional block ID for placement.
Instructions
在飞书文档中插入图片。支持通过文件 token 插入已上传的图片。
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>",
"file_token": "<file_token>"
},
"name": "feishu_insert_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | 飞书文档 ID 或 URL | |
| file_token | Yes | 图片文件 token(需先通过飞书上传接口获取) | |
| width | No | 图片宽度(像素) | |
| height | No | 图片高度(像素) | |
| block_id | No | 插入位置的 Block ID,不指定则追加到文档末尾 |