Complete or reopen a task

Mark a task completed, or open it again.

MCP tool freshsales_write → complete_task

write

Changes the status of one task you own or share. It touches only the task, and one call with completed set to false undoes it, so it does not wait for your OK by default.

Parameters

Parameters: complete_task
NameTypeDescription
task_id integer required integer Task id from list_tasks.
completed boolean boolean true to complete, false to reopen. Default true.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "freshsales_write",
    "arguments": {
      "operation": "complete_task",
      "arguments": {
        "task_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "task_id": 8800121,
    "status": "completed"
  },
  "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.