MCPDocumentation
On this page

Voice agents

Open a pending case

case_open
Direct write
Permission required
agent:runtime (agent keys only)

When to use it

Marks the call as a pending case for the team and opens its incident (or reuses the open one). Use it when you cannot solve it yourself.

Input

FieldTypeDescription
call_idRequiredstringThe current call (call_id from call_start)
reasonRequiredstringWhat they need, in their words
titlestring
priority"urgente" | "alta" | "media" | "baja"
categorystringName of one of the organization's incident categories
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

FieldTypeDescription
conversation_idRequirednumber
incident_idRequirednumber | null
identifierRequiredstring | null
spoken_referenceRequiredstring | null
reusedRequiredbooleanThere was an open case: it was added to it
customer_messageRequiredstringSentence ready to say

Examples

Example 1: Complaint

Call

JSON
{
  "name": "case_open",
  "arguments": {
    "call_id": "room-abc",
    "reason": "El agua de la ducha sale fría desde el lunes",
    "priority": "alta",
    "category": "Instalaciones"
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "case_open",
    "arguments": {
      "call_id": "room-abc",
      "reason": "El agua de la ducha sale fría desde el lunes",
      "priority": "alta",
      "category": "Instalaciones"
    }
  }
}