Add File to Note
bear-add-fileAttach files to Bear notes by providing file paths or encoded content. Use this tool to add documents, images, or other files to existing notes after obtaining the note ID from search.
Instructions
Attach a file to an existing Bear note. Preferred: provide file_path for files on disk — the server reads and encodes them automatically. Alternative: provide base64_content with pre-encoded data. Use bear-search-notes first to get the note ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Path to a file on disk. Preferred over base64_content when the file already exists locally. | |
| base64_content | No | Base64-encoded file content. Use file_path instead when the file exists on disk. | |
| filename | No | Filename with extension (e.g., budget.xlsx, report.pdf). Required when using base64_content. Auto-inferred from file_path when omitted. | |
| id | No | Exact note identifier (ID) obtained from bear-search-notes | |
| title | No | Note title if ID is not available |