delete_folder
Deletes an empty Notes folder only when confirmed; refuses folders with notes or subfolders.
Instructions
Delete an empty Notes folder. It is refused when the folder holds any note or any subfolder (the error says how many), for the built-in folders (Notes, Recently Deleted, Quick Notes) and for the default folder or the only folder of an account. It needs 'confirm' true, also for an empty folder. Without it, nothing is deleted. Notes may keep a deleted folder in Recently Deleted for a while.
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": {
"folder": "<folder>"
},
"name": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Folder name (any case) or id. | |
| account | No | Account name, for example iCloud. Ignores case. | |
| confirm | No | Must be true to delete the folder. Without it, nothing is deleted. |