asana_delete_project_status
Remove outdated or incorrect project status updates from Asana to maintain accurate project tracking and reporting.
Instructions
Delete a project status update
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_status_gid | Yes | The project status GID to delete |
Implementation Reference
- src/tool-handler.ts:238-244 (handler)The main tool handler switch case that processes the tool call, extracts the project_status_gid parameter, calls the AsanaClientWrapper's deleteProjectStatus method, and returns the JSON response.case "asana_delete_project_status": { const { project_status_gid } = args; const response = await asanaClient.deleteProjectStatus(project_status_gid); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
- src/asana-client-wrapper.ts:630-633 (helper)The AsanaClientWrapper method that performs the actual Asana API deletion by calling the SDK's ProjectStatusesApi.deleteProjectStatus.async deleteProjectStatus(statusId: string) { const response = await this.projectStatuses.deleteProjectStatus(statusId); return response.data; }
- Defines the tool's metadata including name, description, and input schema requiring 'project_status_gid'.export const deleteProjectStatusTool: Tool = { name: "asana_delete_project_status", description: "Delete a project status update", inputSchema: { type: "object", properties: { project_status_gid: { type: "string", description: "The project status GID to delete" } }, required: ["project_status_gid"] } };
- src/tool-handler.ts:74-74 (registration)Includes the deleteProjectStatusTool in the exported tools array for MCP registration.deleteProjectStatusTool,
- src/tool-handler.ts:21-25 (registration)Imports the deleteProjectStatusTool from project-status-tools for use in tool-handler.getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool } from './tools/project-status-tools.js';