Upload attachment
upload_attachmentUpload a local file, web URL, or inline text as a Memos attachment, optionally linking it to a memo. Returns the attachment name for use with create_memo.
Instructions
Upload a local file (file_path), a web URL (url), or inline text as a Memos attachment, optionally attaching it to a memo. Returns the attachment name for use with create_memo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | http(s) URL to download and store | |
| memo | No | Memo to attach the file to | |
| text | No | Text content to store as a file (requires filename) | |
| filename | No | File name to store; defaults to the source name | |
| file_path | No | Local file path (~ is expanded) | |
| mime_type | No | MIME type; guessed from the file name when omitted |