add_labels
Add category labels to a thread using label type IDs. Retrieve available label types with get_label_types.
Instructions
Add category labels to a thread. Use get_label_types first to discover available label type IDs for bug, support, feature-request, sales categories. (Prefer update_thread_labels for combined add/remove.)
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": {
"threadId": "<threadId>",
"labelTypeIds": "<labelTypeIds>"
},
"name": "add_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | The ID of the thread to add labels to | |
| labelTypeIds | Yes | Array of label type IDs to add (get IDs from get_label_types) |