Move message
move_messageMoves a Gmail message to a specified label by applying the label and removing it from the Inbox. Requires message ID and target label.
Instructions
Move a message to a label: applies the target label and removes it from the Inbox.
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": {
"gmMsgId": "<gmMsgId>",
"targetLabel": "<targetLabel>"
},
"name": "move_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Gmail address to act on. Omit to use the default account. | |
| gmMsgId | Yes | Gmail message id (X-GM-MSGID), as returned by search_messages or get_message. | |
| targetLabel | Yes | Label to file the message under. |