rename-folder
Renames an existing Apple Notes folder in place using its current name and parent as a safety check. Refuses stale metadata and sibling name conflicts so the wrong folder is never renamed.
Instructions
Use when: renaming one previously read folder in place. Returns: the unchanged folder id, new name, and parent id after readback. Do not use when: creating, moving, or deleting a folder. Safety: requires the expected current name and parent; refuses stale metadata and sibling conflicts.
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": {
"id": "<id>",
"expectedName": "<expectedName>",
"expectedParentId": "<expectedParentId>",
"newName": "<newName>"
},
"name": "rename-folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| newName | Yes | ||
| expectedName | Yes | ||
| expectedParentId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No |