reopen_task
Restore a completed Todoist task to active status by providing its task ID, allowing you to continue working on previously finished items.
Instructions
Reopen a completed task.
Args:
task_id: The ID of the task to reopen
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Implementation Reference
- todoist_mcp/server.py:209-219 (handler)The MCP tool handler and registration for 'reopen_task'. Decorated with @mcp.tool(), it uses type hints and docstring for schema, calls the client helper, and returns success message.@mcp.tool() async def reopen_task(task_id: str) -> str: """Reopen a completed task. Args: task_id: The ID of the task to reopen """ _check_client() await todoist_client.reopen_task(task_id) return f"Task {task_id} reopened successfully!"
- todoist_mcp/client.py:146-148 (helper)Supporting method in TodoistClient that makes the Todoist API call to reopen the specified task.async def reopen_task(self, task_id: str) -> None: """Reopen a completed task.""" await self._request("POST", f"/tasks/{task_id}/reopen")