update_conversation
Modify conversation details including status, priority, assignment, title, or category in the Cuti-E admin system to manage user feedback and support interactions.
Instructions
Update conversation status, priority, assignment, title, or category.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversation_id | Yes | The conversation ID to update | |
| status | No | New status: open, in_progress, waiting_user, waiting_admin, resolved, closed | |
| priority | No | New priority: low, normal, high, urgent | |
| assigned_admin_id | No | Admin ID to assign, or null to unassign | |
| title | No | New conversation title | |
| category | No | New category: bug, feature, question, feedback, other |
Implementation Reference
- index.js:431-440 (handler)The handler logic for the 'update_conversation' tool, which processes the input arguments and makes a PATCH request to the API.
case "update_conversation": { const body = {}; if (args.status !== undefined) body.status = args.status; if (args.priority !== undefined) body.priority = args.priority; if (args.assigned_admin_id !== undefined) body.assigned_admin_id = args.assigned_admin_id; if (args.title !== undefined) body.title = args.title; if (args.category !== undefined) body.category = args.category; result = await apiRequest("PATCH", `/v1/conversations/${args.conversation_id}`, { body }); break; } - index.js:168-202 (schema)The definition and input schema for the 'update_conversation' tool.
{ name: "update_conversation", description: "Update conversation status, priority, assignment, title, or category.", inputSchema: { type: "object", properties: { conversation_id: { type: "string", description: "The conversation ID to update", }, status: { type: "string", description: "New status: open, in_progress, waiting_user, waiting_admin, resolved, closed", }, priority: { type: "string", description: "New priority: low, normal, high, urgent", }, assigned_admin_id: { type: "string", description: "Admin ID to assign, or null to unassign", }, title: { type: "string", description: "New conversation title", }, category: { type: "string", description: "New category: bug, feature, question, feedback, other", }, }, required: ["conversation_id"], }, },