asana_delete_project_status
Remove project status updates from Asana to maintain accurate project tracking and clean up outdated information.
Instructions
Delete a project status update
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_status_gid | Yes | The project status GID to delete |
Input Schema (JSON Schema)
{
"properties": {
"project_status_gid": {
"description": "The project status GID to delete",
"type": "string"
}
},
"required": [
"project_status_gid"
],
"type": "object"
}
Implementation Reference
- src/tool-handler.ts:238-244 (handler)Tool handler case statement that destructures the input parameter project_status_gid and delegates to AsanaClientWrapper.deleteProjectStatuscase "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)Core implementation method in AsanaClientWrapper that performs the actual Asana API call to delete the project status using ProjectStatusesApiasync deleteProjectStatus(statusId: string) { const response = await this.projectStatuses.deleteProjectStatus(statusId); return response.data; }
- Tool schema definition including name, description, and input schema requiring project_status_gidexport 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:73-74 (registration)Registration of the tool in the main tools array exportcreateProjectStatusTool, deleteProjectStatusTool,
- src/tool-handler.ts:21-25 (registration)Import of the deleteProjectStatusTool from project-status-tools for registration in tool handlergetProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool } from './tools/project-status-tools.js';