add_attachment
Attach a local image or audio file up to 50 MB to an existing Anchor note using its note ID and absolute file path. Supports .jpg, .png, .webp, .gif, .mp3, .wav, and other media formats.
Instructions
Attach a local file to a note. Anchor accepts images and audio up to 50 MB (.jpg .jpeg .png .webp .gif .mp3 .wav .m4a .mp4 .ogg .aac .weba .webm).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"noteId": "<noteId>",
"filePath": "<filePath>"
},
"name": "add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noteId | Yes | ||
| filePath | Yes | Absolute path of the local file |