Skip to content

archive_task_list

archive_task_list

Archive a task list.

Archived lists no longer appear in list_task_lists or in the web sidebar, but their tasks remain accessible via the task tools. The authenticated user must be a member of the list.

Idempotent — archiving an already-archived list returns success.

Connected web clients receive a realtime tasklists refetch event so the list disappears from their sidebar.

FieldTypeRequiredDescription
listIdnumberyesNumeric ID of the list to archive.
{
  "listId": 27
}

A single text content block containing a JSON object describing the archived list.

FieldTypeDescription
idnumberNumeric ID of the list.
namestringDisplay name of the list.
colorstringColor tag of the list.
isArchivedbooleanAlways true.
{
  "id": 27,
  "name": "Q3 launch",
  "color": "Blue",
  "isArchived": true
}

The tool returns isError: true with an explanatory text block when the list ID doesn’t exist or the authenticated user is not a member of the list.