Add a note to an incident
- Permission required
incidents:write/incidents:agent
When to use it
Adds an internal note to an incident. People (incidents.handle): by id or reference, in your centres, like in the panel. Agents (incidents.add_note): what the customer says now, checked against their phone or the conversation; if the incident was waiting for the customer, it goes back to pending.
Input
| Field | Type | Description |
|---|---|---|
organization_id | integer | Only to narrow: must be your organization (Autonex staff may pick another) |
noteRequired | string | The note text |
id | integer | People: internal id |
reference | string | Number or reference (HEM-142) |
contact_phone | string | Agents: customer phone |
conversation_id | integer | Agents: current conversation |
livekit_room | string | Agents: LiveKit room |
language | "es" | "ca" | "en" | Agents: customer language |
Every tool also accepts lang (es | en) for the language of the text answer.
Output
| Field | Type | Description |
|---|---|---|
incident_idRequired | number | |
identifierRequired | string | null | |
statusRequired | string | |
customer_messageRequired | string | null | Agents: sentence ready to tell the customer |
comment_countRequired | number | null | People: internal notes after adding it |
Examples
Example 1: A person leaves a note
Call
{
"name": "add_incident_note",
"arguments": {
"reference": "HEM-142",
"note": "He llamado al cliente, vuelve a llamar mañana."
}
}Example 2: The agent adds what the customer says
Call
{
"name": "add_incident_note",
"arguments": {
"reference": "142",
"note": "Prefiere el viernes por la tarde.",
"contact_phone": "+34600111222"
}
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_incident_note",
"arguments": {
"reference": "HEM-142",
"note": "He llamado al cliente, vuelve a llamar mañana."
}
}
}