Work with Attachments
Last modified by superadmin on 2026/11/25 21:28
Content
Get a connected assistant to read the files attached to a page, and to attach new ones.
Steps
Attaching needs the write tools, which an administrator enables, and the assistant only opens and changes what your account may (see Agent Authentication).
- Ask the assistant to read an attachment, naming the page and the file. It reports the file's metadata first, then its content: text inline, PDF and office documents as extracted text, images up to 2 MB as viewable images, and any other type as metadata with a download link.

- Ask it to attach a file, and check what it reports: the file it saved, its size, and the page's new version. It can send a text file or a small binary file.

FAQ
Can it read a PDF or an office document?
Yes. It gets the text the wiki extracts from the file: the words are there, the layout, the formatting and the images are not.
Can it attach a large file?
No. This door is for small files: text, or a small binary file encoded in the request. Attach anything bigger through the page's own "Attachments" tab.
Can it delete an attachment?
Yes, where the delete tools are enabled. The attachment keeps its own history and goes to the attachment recycle bin, so it can be restored from the wiki. A wiki without an attachment recycle bin refuses the deletion instead.