assess_archive_project_to_collection
Move a project to a specified collection for organization within the addTaskManager MCP Server. Requires project and collection record names for structured archiving.
Instructions
Archive a project to a collection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionRecordName | Yes | Record name of the collection | |
| projectRecordName | Yes | Record name of the project |
Implementation Reference
- src/index.ts:1375-1378 (handler)The primary handler function that implements the logic for the 'assess_archive_project_to_collection' tool. It currently provides a mock response simulating the archiving of a project to a collection in CloudKit.private async archiveProjectToCollection(projectRecordName: string, collectionRecordName: string) { // Mock archiving project to collection via CloudKit return { content: [{ type: 'text', text: `Project ${projectRecordName} archived to collection ${collectionRecordName}` }] }; }
- src/index.ts:413-423 (schema)The tool definition in the listTools response, including the input schema for validating arguments: projectRecordName and collectionRecordName.{ name: 'assess_archive_project_to_collection', description: 'Archive a project to a collection.', inputSchema: { type: 'object', properties: { projectRecordName: { type: 'string', description: 'Record name of the project' }, collectionRecordName: { type: 'string', description: 'Record name of the collection' } }, required: ['projectRecordName', 'collectionRecordName'] }
- src/index.ts:698-700 (registration)The dispatch case in the CallToolRequestSchema handler that routes calls to the archiveProjectToCollection method after validation.case 'assess_archive_project_to_collection': this.validateArgs(args, ['projectRecordName', 'collectionRecordName']); return await this.archiveProjectToCollection(args.projectRecordName, args.collectionRecordName);