download_doc_image
Download an image embedded in a docx document using the image_token from get_doc_blocks. Optionally scope with document or wiki token; use save_path for images larger than 2 MiB.
Instructions
[User Identity / Official API] Download an image embedded in a docx document so the model can see it. Pass the image_token from get_doc_blocks (block.image.token), and optionally the doc/wiki/URL token to scope the lookup. UAT-first.
Size cap: payloads > 2 MiB MUST pass save_path.
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": {
"image_token": "<image_token>"
},
"name": "download_doc_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_token | Yes | Image token (from get_doc_blocks image block) | |
| doc_token | No | Document ID, wiki node token, or Feishu URL (optional but recommended for permission scoping). | |
| save_path | No | Absolute local path. Required when image bytes > 2 MiB. |