Move subscriptions
moveSubscriptionsMove every conversation from several senders to the archive, the Bin or a label, as Archive on a selection of the Subscriptions page does. future, true by default, also makes a rule per sender that keeps doing it to new mail, which needs permission to change rules. labelId is the label for destination label, from getUserLabels. ids come from listSubscriptions.
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>",
"destination": "<destination>"
},
"name": "moveSubscriptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| future | No | ||
| labelId | No | ||
| destination | Yes |