Close a task
Mark a task as done, like Close in the Actions menu.
MCP tool suitecrm_write → close_task
write
Runs Close from the task's Actions drop-down; the task moves to the History tile of its record. It reaches no one and can be reopened by update_record, so it does not wait for your OK.
Parameters
| Name | Type | Description |
|---|---|---|
| task_id string required | string | Task ID from list_records. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "suitecrm_write",
"arguments": {
"operation": "close_task",
"arguments": {
"task_id": "task_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"task_id": "b6f3a290-1d84-4c7e-8e5a-2f9d0c71a4b3",
"status": "Completed",
"closed_at": "2026-10-23T09:40:00"
},
"isError": false
}