update_message_labels
Add or remove labels on a Naver Mail message in one call; folder labels move messages, and the new message ID is returned.
Instructions
Adds and/or removes labels on a message in one call. Moving changes the message id; the new id is returned.
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": {
"messageId": "<messageId>"
},
"name": "update_message_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | ||
| addLabelIds | No | Label ids: STARRED, UNREAD, INBOX, TRASH, SPAM, or a user label id from list_labels. Adding a folder label moves the message to that folder (one folder per message); removing the current folder label moves it back to INBOX. | |
| removeLabelIds | No |