Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

delete_task

Remove tasks from Zoho Projects by specifying project and task IDs to manage project workflows and maintain organized task lists.

Instructions

Delete a task

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID
task_idYesTask ID

Implementation Reference

  • The handler function that implements the core logic of the delete_task tool by sending a DELETE request to the Zoho Projects API endpoint.
    private async deleteTask(projectId: string, taskId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/tasks/${taskId}`, "DELETE" ); return { content: [ { type: "text", text: `Task deleted successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Input schema for the delete_task tool defining required project_id and task_id parameters.
    inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, task_id: { type: "string", description: "Task ID" }, }, required: ["project_id", "task_id"], },
  • src/index.ts:368-378 (registration)
    Tool registration entry in the list_tools response including name, description, and schema.
    name: "delete_task", description: "Delete a task", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, task_id: { type: "string", description: "Task ID" }, }, required: ["project_id", "task_id"], }, },
  • src/index.ts:580-581 (registration)
    Dispatch case in the call_tool request handler that routes to the deleteTask method.
    case "delete_task": return await this.deleteTask(params.project_id, params.task_id);

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/qpiai/zoho-projects-mcp'

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