hey_collection
Add or remove an email thread from a collection using collection IDs from hey_list_collections. Reverse by calling again with the opposite action.
Instructions
Add or remove an email thread from a collection. Returns {success, error?}. Reversible by calling again with the opposite action. Use hey_list_collections to discover collection 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>",
"collection_id": "<collection_id>",
"action": "<action>"
},
"name": "hey_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to add or remove the thread from the collection | |
| topic_id | Yes | The topic/thread ID to add to or remove from the collection | |
| collection_id | Yes | The collection ID (use hey_list_collections to see available collections) |