Close task

Marks a task as finished.

POST https://cotlet.dev/api/v1/breezeway/tasks/{task_id}/close

write Confirm

Returns the task with its finished time and status. Use it for tasks staff did not close themselves. A closed task can be approved or reopened. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: close_task
NameTypeDescription
task_id integer required integer Breezeway task ID.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/breezeway/tasks/1/close \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("breezeway", "close_task", {"task_id":1})
Node.js
const result = await cotlet.call('breezeway', 'close_task', {"task_id":1});
CLI
cotlet call breezeway close_task --data '{"task_id":1}'

Example response

JSON

{
  "task_id": 4417299,
  "name": "Replace smoke detector battery",
  "status": "Closed",
  "finished_at": "2026-10-21T09:12:00"
}

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.