# ed permissions request

> Ask the running app to raise the macOS prompt for one permission, wait for it, then report the mirror. This is the button on a row of the Permissions pane.

- Canonical URL: https://getedith.pro/docs/cli/permissions/request
- Updated: 2026-12-02

Ask the running app to raise the macOS prompt for one permission, wait for it,
then report the mirror. This is the button on a row of the Permissions pane.

```
ed permissions request <permission> [--json]
```

## Arguments

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<permission>` | one of `calendar`, `notifications`, `accessibility`, `inputMonitoring`, `fullDisk`, `screenRecording`, `applicationAudio`, `camera`, `bluetooth`, `automation` | required | The permission to ask for. Matched case-insensitively, so `INPUTMONITORING` resolves the same as `inputMonitoring` |

## Options

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `--json` | flag | off | Emit JSON on stdout |

## `--json` shape

```json
{
  "granted": false,
  "permission": "calendar",
  "relaunch": "none",
  "relaunchRequired": false,
  "requested": true
}
```

`permission` is the id you asked for, normalised to the catalogue's spelling.
`granted` is the mirror re-read after the wait, not a promise that the prompt
was answered. `relaunch` is either `none` or `edith`. `relaunchRequired` becomes
true only when the grant landed and its policy requires a fresh Edith process.

## Examples

```
ed permissions request calendar
ed permissions request screenRecording --json
ed permissions request notifications && ed app relaunch --yes
```

## Behaviour

The three checks run in this order, and the first one that fails is the one you
see:

1. the id is looked up, and an unknown one exits 3 listing all ten,
2. `applicationAudio`, `bluetooth` and `automation` are refused, because they
   have no prompt to raise, and exit 4,
3. Edith raises the prompt. You do not need to open Edith first: `ed` starts it
   in the background when needed.

Refusals and unknown names say what to do instead:

```
$ ed permissions request bluetooth
error: Bluetooth is granted on first use and cannot be requested
hint: macOS will ask for Bluetooth access when connection alerts first run.

$ ed permissions request wifi
error: no permission named wifi
hint: known: calendar, notifications, accessibility, inputMonitoring, fullDisk, screenRecording, applicationAudio, camera, bluetooth, automation
```

Past those checks the command posts the permission's grant notification, sleeps
1500 ms, posts a refresh, sleeps another 1000 ms, and reads the mirror. So it
takes at least two and a half seconds, and it is a fixed wait rather than a
reply it can wait on. The app's side of that notification opens the matching
System Settings pane on your screen, which is a visible side effect of a command
you may have run over SSH.

A grant that has not landed inside those two and a half seconds is the normal
outcome for anything you have to toggle in System Settings by hand. The command
reports it and still exits 0, so gate on the `granted` field rather than on the
exit code:

```
$ ed permissions request calendar
calendar not granted yet
note: finish the prompt in System Settings, then run `ed permissions refresh`
```

Accessibility, Input Monitoring, Full Disk Access and Screen Recording can need
a fresh process. The command reports that policy but never relaunches Edith by
itself. Run `ed app relaunch --yes` explicitly after a successful request when
`relaunchRequired` is true.

## Where to go next

- [`ed permissions`](https://getedith.pro/docs/cli/permissions), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
