Save attachments to a folder
save_attachmentsSave copies of photos and PDFs attached to notes into a chosen folder under Save with custom names; use check-only mode to identify existing files and avoid overwriting.
Instructions
Save copies of photos and PDFs attached to notes, such as invoices, receipts and scans, into a folder inside the user's Save folder, under names you choose. Use it only when the user asks to save, collect or organise files. Notes are never changed and no file is overwritten: a taken name gets “ (2)”, and a file whose contents are already in the folder is skipped, so repeating a call is safe. With check_only=true nothing is written: it says which files are already there, so a continued job skips them without opening them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Files to save, up to 50. | |
| folder | Yes | Folder inside the Save folder, e.g. “Invoices 2025” or “Invoices/2025”. A relative name, not a full path; created when the first file is saved. | |
| check_only | No | Write nothing; only say which files are already in the folder. Use it before opening files to save, and when continuing an earlier job. |