Skip to main content
Glama
awwaiid
by awwaiid

mark_task_done

Update task status to completed in the TaskWarrior MCP Server by specifying the task identifier. Simplifies task management through natural language commands.

Instructions

Mark a task as done (completed)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
identifierYes

Implementation Reference

  • Handler for the 'mark_task_done' tool. Parses input arguments using the defined schema, executes 'task <identifier> done' command via execSync, and returns the command output as text content.
    case "mark_task_done": { const parsed = markTaskDoneRequest.safeParse(args); if (!parsed.success) { throw new Error(`Invalid arguments for mark_task_done: ${parsed.error}`); } const content = execSync(`task ${parsed.data.identifier} done`, { maxBuffer: 1024 * 1024 * 10 }).toString().trim(); return { content: [{ type: "text", text: content }], }; }
  • Zod input schema for 'mark_task_done' tool, requiring a string 'identifier'.
    const markTaskDoneRequest = z.object({ identifier: z.string(), });
  • index.ts:102-105 (registration)
    Registration of the 'mark_task_done' tool in the listTools response, including name, description, and input schema reference.
    name: "mark_task_done", description: "Mark a task as done (completed)", inputSchema: zodToJsonSchema(markTaskDoneRequest) as ToolInput, },

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/awwaiid/mcp-server-taskwarrior'

If you have feedback or need assistance with the MCP directory API, please join our Discord server