assess_remove_task_from_idea
Remove a specific task from an idea in the Assess realm using the addTaskManager MCP Server. Ensure task-idea associations are updated accurately within the ADD framework workflow.
Instructions
Remove a task from an idea in Assess realm.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ideaRecordName | Yes | Record name of the idea | |
| taskRecordName | Yes | Record name of the task |
Implementation Reference
- src/index.ts:1365-1368 (handler)The handler function that executes the tool. Currently implemented as a mock that returns a success message. In production mode, it would use CloudKitService to fetch the idea record, remove the task reference from the 'tasks' array, and save the updated record.private async removeTaskFromIdea(taskRecordName: string, ideaRecordName: string) { // Mock removing task from idea via CloudKit return { content: [{ type: 'text', text: `Task ${taskRecordName} removed from idea ${ideaRecordName}` }] }; }
- src/index.ts:389-400 (schema)Tool schema definition including input parameters validation (taskRecordName and ideaRecordName). Part of the tools list returned by ListToolsRequestSchema.{ name: 'assess_remove_task_from_idea', description: 'Remove a task from an idea in Assess realm.', inputSchema: { type: 'object', properties: { taskRecordName: { type: 'string', description: 'Record name of the task' }, ideaRecordName: { type: 'string', description: 'Record name of the idea' } }, required: ['taskRecordName', 'ideaRecordName'] } },
- src/index.ts:692-694 (registration)Registration in the CallToolRequestSchema switch statement that dispatches to the handler function after argument validation.case 'assess_remove_task_from_idea': this.validateArgs(args, ['taskRecordName', 'ideaRecordName']); return await this.removeTaskFromIdea(args.taskRecordName, args.ideaRecordName);