# Pause or resume a Worker

> Pause or resume a Worker.

`workers.set_status` · write

- **MCP tool:** `pause_or_resume_worker`. Loaded by default in MCP clients.
- **REST:** `POST /v1/workers/set-status`
- **CLI:** `xholic workers set-status`
- **Scope:** `write`
- **Plan:** Pro plan or higher
- **Cost:** Free.
- **Rate limit bucket:** `write`

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `workerId` | string (uuid) | Yes |  |
| `status` | "ACTIVE" \\| "PAUSED" | Yes |  |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
