label_thread
Set or clear a triage label on an inbox thread to categorize messages. Pass a label value to assign it, or pass null to remove one, keeping labels filterable and separate from read state.
Instructions
Set or clear a triage LABEL on an inbox thread — the same chip the dashboard shows. Inputs: threadId, label (string; pass label:null to clear). Distinct from mark (read/unread/archived state): a label is a free-form category, not a read flag. Filterable via inbox's label param.
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>"
},
"name": "label_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| threadId | Yes | The thread id, e.g. from inbox() or campaign events. |