Skip to main content
Glama
adamzaidi

icloud-mcp

by adamzaidi

abandon_move

Cancel an ongoing email move operation in iCloud Mail to start a new one. Use when you need to stop and replace the current move process.

Instructions

Abandon an in-progress move operation so a new one can start. Only use if you are certain the operation should not be resumed. Emails already moved will not be returned to source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the abandonMove tool which marks an in-progress move operation as abandoned in the manifest file.
    export function abandonMove() {
      const data = readManifest();
      if (!data.current) return { abandoned: false, message: 'No in-progress operation to abandon' };
      if (data.current.status !== 'in_progress') {
        return { abandoned: false, message: `Current operation is already '${data.current.status}', nothing to abandon` };
      }
      const operationId = data.current.operationId;
      data.current.status = 'abandoned';
      data.current.updatedAt = new Date().toISOString();
      archiveCurrent(data);
      writeManifest(data);
      return { abandoned: true, operationId };
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adamzaidi/icloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server