get_task
Retrieve specific task details from Zoho Projects by providing project and task IDs to access task information for project management.
Instructions
Get details of a specific task
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID | |
| task_id | Yes | Task ID |
Implementation Reference
- src/index.ts:720-727 (handler)Core handler function for 'get_task' tool. Fetches task details via Zoho Projects API using makeRequest and returns JSON-formatted response.private async getTask(projectId: string, taskId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/tasks/${taskId}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/index.ts:305-315 (schema)Tool definition including name, description, and input schema (JSON Schema) for validation of parameters: project_id and task_id as required strings.name: "get_task", description: "Get details of a specific 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:574-575 (registration)Registration/dispatch in the CallToolRequestSchema handler switch statement, routing 'get_task' calls to the getTask method.case "get_task": return await this.getTask(params.project_id, params.task_id);