classify_message
Classify one incoming item — an e-mail (kind 'email', id from list_emails) or a messenger message (kind 'inbound_message', id from list_inbound_messages): category, priority, responsible agent and a short note. category must be one of the tenant's classification classes (without any: Anfrage, Termin, Reklamation, Rechnung, Lieferant, Bewerbung, Newsletter, Spam, Sonstiges); an unknown one is rejected with the list. priority: hoch | normal | niedrig. agent_id or agent_name names the agent who takes it over (a name is resolved in this tenant). draft_delegation_id links an existing reply draft (delegate_to_user does that itself with questions[].source). Sets triaged_at; calling it again re-classifies. Nothing is sent, moved or answered.
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": {
"kind": "<kind>",
"id": "<id>",
"category": "<category>",
"priority": "<priority>"
},
"name": "classify_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the item (from list_emails or list_inbound_messages) | |
| kind | Yes | Type of item to classify: e-mail or messenger message | |
| note | No | Why / what to do next (max 2000 characters) | |
| agent_id | No | Responsible agent (uuid or exact name) | |
| category | Yes | Classification class of the tenant; unknown values are rejected with the list | |
| priority | Yes | Priority | |
| agent_name | No | Alternative to agent_id: the agent's name | |
| draft_delegation_id | No | Delegation (from delegate_to_user) that holds the reply draft |