Create case
Open a support case for a contact, with or without an email to the customer.
MCP tool vtiger_write → create_case
write Confirm
Creates one case from the + Add Case form. With notify_customer true it uses the Send Email tab, which emails the customer; the default false uses Add Case and sends nothing. Title and contact are required; group and assigned_to place it with a team or person. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| title string required | string | Case Title. |
| contact_name string required | string | Contact the case belongs to. |
| priority enum | enum | Urgent, High, Medium or Low. |
| group string | string | Group (team) to assign the case to. |
| assigned_to string | string | Person in the group to assign it to. |
| description string | string | What the customer reported. |
| notify_customer boolean | boolean | true emails the customer through the Send Email tab. Default: false. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "vtiger_write",
"arguments": {
"operation": "create_case",
"arguments": {
"title": "title",
"contact_name": "contact name"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"record_id": "3320",
"title": "Wrong address on invoice 1051",
"status": "New",
"priority": "High",
"group": "Billing",
"contact": "Luis Ortega",
"customer_emailed": false
},
"isError": false
}