assess_remove_task_from_project
Remove a task from a project in the Assess realm, ensuring proper organization within the ADD framework. Input task and project record names for precise task management.
Instructions
Remove a task from a project in Assess realm.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRecordName | Yes | Record name of the project | |
| taskRecordName | Yes | Record name of the task |
Implementation Reference
- src/index.ts:1360-1363 (handler)The primary handler function for the 'assess_remove_task_from_project' tool. Currently implemented as a mock that returns a success message. In production, this would fetch the project record, remove the task reference from its 'tasks' array, and save the updated project.private async removeTaskFromProject(taskRecordName: string, projectRecordName: string) { // Mock removing task from project via CloudKit return { content: [{ type: 'text', text: `Task ${taskRecordName} removed from project ${projectRecordName}` }] }; }
- src/index.ts:378-387 (schema)Input schema definition for the tool, specifying required string parameters for task and project record names.name: 'assess_remove_task_from_project', description: 'Remove a task from a project in Assess realm.', inputSchema: { type: 'object', properties: { taskRecordName: { type: 'string', description: 'Record name of the task' }, projectRecordName: { type: 'string', description: 'Record name of the project' } }, required: ['taskRecordName', 'projectRecordName'] }
- src/index.ts:689-691 (registration)Registration in the central tool dispatcher (switch statement) that validates arguments and calls the specific handler.case 'assess_remove_task_from_project': this.validateArgs(args, ['taskRecordName', 'projectRecordName']); return await this.removeTaskFromProject(args.taskRecordName, args.projectRecordName);