apply_label
Labels a message and archives it out of the inbox in one reversible step, but only for high-confidence classifications—uncertain messages remain in the inbox.
Instructions
Label a message AND archive it out of the inbox (reversible). Only call this for high-confidence classifications; unsure messages stay in 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": {
"message_id": "<message_id>",
"label_id": "<label_id>"
},
"name": "apply_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_id | Yes | ||
| message_id | Yes |