delete-folder
Deletes an existing Apple Notes folder by name or nested path; requires explicit confirmation and an empty folder, so list or move notes first.
Instructions
Use when: deleting an existing folder by name or nested path. Returns: confirmation. Do not use when: deleting a note (delete-note). Safety: requires explicit user confirmation. Deletion fails if the folder still contains notes — list or move those notes first.
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": {
"name": "<name>"
},
"name": "delete-folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| account | No | Account name (defaults to Notes.app's default account; exact or unique-prefix match) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| folder | No |