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.
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. |