Wiki source code of Work with Attachments
Last modified by Vincent Massol on 2026/09/04 19:19
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Have a connected assistant read the files attached to a page, and attach new ones where an administrator has enabled the write tools (see [[Agent Authentication>>doc:documentation.extensions.user.llm.mcp-server.agent-authentication.WebHome]] for what it may open and change). | ||
| 2 | |||
| 3 | 1. Ask the assistant to read an attachment, naming the page and the file. It reports the file's metadata first, then its text.((( | ||
| 4 | {{image reference="assistant-attachment-read.png" size="extra" alt="A terminal session in which the assistant reads a text attachment and reports its metadata and its three lines, highlighted"/}} | ||
| 5 | ))) | ||
| 6 | 1. Ask it to attach a file, and check what it reports: the file it saved, its size, and the page's new version.((( | ||
| 7 | {{image reference="assistant-attach-result.png" size="extra" alt="A terminal session in which the assistant attaches release-checklist.txt to a page and reports the new page version 1.2, highlighted"/}} | ||
| 8 | ))) |