Mail: Label messages
mail_labelPut a label on messages. Takes message ids from mail_list_messages and a label_id from mail_list_labels. Labelling changes nothing on the mail server — it is our own filing. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"message_ids": "<message_ids>",
"label_id": "<label_id>"
},
"name": "mail_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | Yes | ||
| message_ids | Yes |