import_note
Creates a new Apple Note from a Markdown file, turning image links into attachments. Prevents overwriting by refusing existing note names.
Instructions
Create a new note from a Markdown file. Its image links become real attachments. Creates only: a name that already exists in Notes is refused, so nothing is overwritten.
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": {
"file": "<file>"
},
"name": "import_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Folder of .md files to work in. A bare name is a folder inside the vault. Default: the vault itself, from the APPLE_NOTES_MD_DIR environment variable or failing that the open Markdown vault. | |
| file | Yes | Path to the file, relative to the root. | |
| folder | No | Target folder. Default: the Notes folder of the default account. | |
| create_folder | No | Create the folder when it does not exist. Default false. |