Update case

Set a case's group, owner, priority, status or SLA.

MCP tool vtiger_write → update_case

write Confirm

Changes the fields you pass on one case and leaves the others as they are. group is the team picklist from Deep Dive, assigned_to a person, sla_name one of the customer SLAs. Setting Resolved starts Vtiger's own wait before the case closes by itself. A group or SLA the CRM does not have fails, and the error lists the options. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: update_case
NameTypeDescription
record_id string required string Case record id from list_cases.
status enum enum New, Assigned, Open, Wait for 3rd party, Wait for customer, Resolved or Closed.
priority enum enum Urgent, High, Medium or Low.
group string string Group (team) to assign the case to.
assigned_to string string Person to assign the case to.
sla_name string string Customer SLA to apply.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "vtiger_write",
    "arguments": {
      "operation": "update_case",
      "arguments": {
        "record_id": "3318",
        "group": "Billing",
        "priority": "High"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "record_id": "3318",
    "title": "Invoice 1042 charged twice",
    "status": "New",
    "priority": "High",
    "group": "Billing",
    "assigned_to": null,
    "sla_name": null
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.