Add to an incident
- Permission required
agent:runtime(agent keys only)
When to use it
Adds what the caller says to one of THEIR incidents (same phone or this call). Never closes it.
Input
| Field | Type | Description |
|---|---|---|
call_idRequired | string | The current call (call_id from call_start) |
referenceRequired | string | Incident number or identifier (142, JOAN-142) |
textRequired | string | |
language | "es" | "ca" | "en" | Language of customer_message (default: the conversation's) |
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 | |
status_labelRequired | string | |
spoken_referenceRequired | string | |
customer_messageRequired | string |
Examples
Example 1: New information
Call
{
"name": "incident_note",
"arguments": {
"call_id": "room-abc",
"reference": "142",
"text": "Dice que el problema sigue hoy"
}
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "incident_note",
"arguments": {
"call_id": "room-abc",
"reference": "142",
"text": "Dice que el problema sigue hoy"
}
}
}