assess_remove_task_from_idea
Remove a task from an idea in the Assess realm of the addTaskManager app. This tool helps manage task-idea relationships by unlinking specific tasks from ideas during the assessment phase.
Instructions
Remove a task from an idea in Assess realm.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskRecordName | Yes | Record name of the task | |
| ideaRecordName | Yes | Record name of the idea |
Implementation Reference
- src/index.ts:1365-1368 (handler)The handler function that executes the tool logic. It mocks removing the task reference from the idea record in CloudKit and returns a success message.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)The tool definition including name, description, and input schema for validation, registered in the list of tools.{ 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)The dispatch case in the CallToolRequestSchema handler that validates arguments and calls the removeTaskFromIdea method.case 'assess_remove_task_from_idea': this.validateArgs(args, ['taskRecordName', 'ideaRecordName']); return await this.removeTaskFromIdea(args.taskRecordName, args.ideaRecordName);