rename_folder
Change the name of a mail folder in your Naver Mail account. Specify the current folder name and the new name to update it.
Instructions
메일 폴더 이름 변경
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_folder_name | Yes | 기존 폴더 이름 | |
| new_folder_name | Yes | 새 폴더 이름 |
Implementation Reference
- service/mail_service.py:168-173 (handler)The rename_folder method in MailService implements the tool logic by using the imap_tools library to rename a mail folder.
def rename_folder(self, old_folder_name: str, new_folder_name: str) -> None: """ 폴더 이름을 변경합니다. """ with self._get_mailbox_client() as mailbox: mailbox.folder.rename(old_folder_name, new_folder_name)