Attach evidence to a delivered report
Prepare the attachment, stage exact bytes, complete and check the digest. Small files can stay in MCP. Larger bytes travel by authorized HTTP PUT before MCP finalization.
When it runs
Section titled “When it runs”MCP after delivery to the authorized channel, with the saved article and original bytes.
What you can change
Section titled “What you can change”File, name and transfer method. Up to 128 KiB inline and 100 MiB on the upload path. The same file can later be indexed or explicitly OCR’d.
From an MCP client
Section titled “From an MCP client”prepare_agent_news_attachment, upload_agent_news_attachment, complete_agent_news_attachment. General article uploads use the parallel library-granted tools. See the tool reference for arguments and permissions.
Try it
Section titled “Try it”Deliver a report with a synthetic table and compare the completed file digest.
Source files api/src/lib/articleAttachmentUploads.ts, api/src/lib/mcpWriteTools.ts, src/components/ArticleAttachments.tsx.