modifyMessage
Adds or removes labels on one or more messages by ID, accepting a single ID or an array to apply label changes in bulk.
Instructions
Modify the labels on one or more messages. Pass a single id or an array of ids.
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": {
"ids": "<ids>"
},
"name": "modifyMessage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Message ID or array of message IDs to modify | |
| addLabelIds | No | Label IDs to add | |
| removeLabelIds | No | Label IDs to remove |