Read Page Attachment
page_read_attachmentRead a Yandex Wiki page attachment's content into the conversation: images as inline images, text files as text, other files as base64-encoded.
Instructions
Read a Yandex Wiki page attachment's content into the conversation (nothing is saved anywhere): PNG/JPEG/GIF/WebP images arrive as a native image block — vision-capable clients render and see them — text files (SVG included, it is XML) as text, anything else base64-encoded. Meant for images and text attachments — diagrams, screenshots, configs, CSVs, logs. Refuses non-image content over 128 KiB and images over 2 MiB. Use page_download_attachment to save it locally, or fetch the attachment's download_url from page_get_attachments yourself. page_get_attachments is also where file ids come from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Wiki page slug or full Wiki URL. Provide either page_id or slug. | |
| file_id | Yes | Attachment (file) numeric ID, as listed by page_get_attachments. | |
| page_id | No | Wiki page numeric ID. Provide either page_id or slug. |