hey_label
Add or remove labels on Hey.com email threads. Use hey_list_labels to find label IDs, then apply or reverse the action.
Instructions
Add or remove a label on an email thread. Returns {success, error?}. Reversible by calling again with the opposite action. Use hey_list_labels to discover available label 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": {
"topic_id": "<topic_id>",
"label_id": "<label_id>",
"action": "<action>"
},
"name": "hey_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to add or remove the label | |
| label_id | Yes | The label ID to add or remove (use hey_list_labels to see available labels) | |
| topic_id | Yes | The topic/thread ID to label or unlabel |