m365_contacts_folder_update
Rename or move an existing contact folder by providing a new display name and/or destination parent folder ID; use current parent ID for direct-child folders.
Instructions
Rename or move an existing contact folder; this changes the folder, not a contact or its categories. Supply displayName, moveToParentFolderId, or both. parentFolderId identifies the current parent of a direct-child folder; moveToParentFolderId is the destination. Use m365_contacts_folders_list for IDs. Returns the updated folder with success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | Existing top-level or direct-child folder ID from m365_contacts_folders_list | |
| displayName | No | Replacement folder name; omit when only moving | |
| parentFolderId | No | Current parent ID for a direct-child folder; omit for a top-level folder | |
| moveToParentFolderId | No | Destination parent folder ID; omit when only renaming |