delete_task
Delete a task from a Repsona project using its project ID and task ID. Removes the task permanently from the project management platform.
Instructions
タスクを削除します
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | プロジェクトID | |
| taskId | Yes | タスクID |
Implementation Reference
- index.js:526-537 (registration)Tool 'delete_task' is registered in the ListToolsRequestSchema handler with its name, description, and inputSchema (requiring projectId and taskId).
{ name: 'delete_task', description: 'タスクを削除します', inputSchema: { type: 'object', properties: { projectId: { type: 'string', description: 'プロジェクトID' }, taskId: { type: 'string', description: 'タスクID' }, }, required: ['projectId', 'taskId'], }, }, - index.js:1176-1185 (handler)Handler case for 'delete_task' in CallToolRequestSchema switch. Calls this.repsonaAPI.deleteTask(args.projectId, args.taskId) and returns a success message.
case 'delete_task': await this.repsonaAPI.deleteTask(args.projectId, args.taskId); return { content: [ { type: 'text', text: `タスクID ${args.taskId} が削除されました`, }, ], }; - index.js:171-173 (helper)RepsonaAPI.deleteTask method that makes a DELETE request to /project/{projectId}/task/{taskId} via the API.
async deleteTask(projectId, taskId) { return this.makeRequest(`/project/${projectId}/task/${taskId}`, 'DELETE'); }