Agents & Machines

drainMachine

Drain Machine

Drain (or un-drain) one of your machines: the safe way to take a box offline without losing agent work.

write

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "drain the Mac Mini", and it calls drainMachine.

Example call

The MCP tools/call params, with the required arguments only.

{
  "arguments": {
    "machineId": "<machineId>"
  },
  "name": "drainMachine"
}

Arguments

Returns

Queued runs stay queued (they are never failed) and claim again when the machine returns.

Ask for it

The Cloud routes these requests to this verb.

Pair it with

The verbs that finish the job.

Questions

Connect

One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.