Update task status
Set the status and substatus of a task.
MCP tool aroflo_write → update_task_status
write Confirm
Changes the status and returns the old and the new value. Completed means the work is done and ready for invoicing or archiving. Another call with the old status undoes it. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| task_id string required | string | Task ID from list_tasks. |
| status string required | string | Not Started, In Progress, Pending or Completed. |
| substatus string | string | A substatus your site administrator set up. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "aroflo_write",
"arguments": {
"operation": "update_task_status",
"arguments": {
"task_id": "task_8c41d2",
"status": "status"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"task_id": "task_8814",
"job_number": "J1187",
"previous_status": "Not Started",
"status": "In Progress",
"substatus": null
},
"isError": false
}