# get_agents_pause

URL: https://codepanel.ai/docs/mcp-server/get_agents_pause

The CodePanel MCP tool that says whether the owner paused every agent on the account, since when, by whom and why.

`get_agents_pause` reads the account's "Stop everything" switch: whether the owner paused every agent, since when, by whom and why. It needs the `read` scope.

## When to call it

- **When a call is refused with `reason: "agents_paused"`**: [`start_task`](/docs/mcp-server/start_task), a run's start or a model call through the proxy. The pause says who stopped the agents and why.
- **Before starting work** on an account whose owner may have stopped everything.

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |


It only reads: the server marks it `readOnlyHint: true`, so clients that ask before a write can run it without asking.

## What it returns

`paused`, `pausedAt` (epoch milliseconds, or `null`), `via` (`app` when the owner paused from the desktop app, else the name of the API token that paused) and `reason` (`null` when none was given).

## The same step without MCP

| Surface | Form |
| --- | --- |
| HTTP API | `GET /autopilot/pause` with the `read` scope |
| CLI | `codepanel autopilot` |
| Desktop app | Autopilot, under Guardrails |

## What the server tells your agent

The description your agent reads when it lists the tools:

> Use it when a call is refused with reason agents_paused, or before starting work, to see whether the owner stopped every agent. Returns paused, pausedAt (epoch ms or null), via (app, or the API token's name that paused) and reason. While paused, start_task, the runner's claims and every model call are refused; resume_agents lifts it.

## Related

- [`pause_agents`](/docs/mcp-server/pause_agents): stop everything.
- [`resume_agents`](/docs/mcp-server/resume_agents): lift the pause.
- [MCP server](/docs/mcp-server): install, sign-in and every other tool.
