Update Folder
omnifocus_update_folderRename an OmniFocus folder by providing its ID or current name, then specify the new folder name.
Instructions
Rename an existing folder in OmniFocus.
Args:
folderId (string, optional): The folder's ID. Takes priority if both folderId and folderName provided.
folderName (string, optional): The folder's name to search for. At least one of folderId or folderName is required.
name (string): New folder name
Note: moving a folder into another folder is not supported by OmniFocus's JXA layer (the move operation is rejected). Recreate the folder in the target location if you need to move it.
Returns: The updated folder object
Examples:
Rename by ID: { folderId: "abc123", name: "Archive" }
Rename by name: { folderName: "Q1", name: "Q1 2027" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New folder name | |
| folderId | No | The folder ID to update. Takes priority if both folderId and folderName are provided. | |
| folderName | No | The folder name to search for. At least one of folderId or folderName is required. |