# Tracepad

> Tracepad in the Edith ed command line reference. All command pages

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

[All command pages](https://getedith.pro/docs/cli)

Tracepad has no `ed tracepad` command group. Enable `tracepad`, then use
[ed invoke](https://getedith.pro/docs/cli/invoke). Every
payload is a JSON object of at most 16 KiB.

```sh
ed invoke tracepad tracepad.clipboard
ed invoke tracepad tracepad.status
ed invoke tracepad tracepad.handoff
ed invoke tracepad tracepad.capture --json '{"mode":"region","delay":false}'
```

## Operations

| Operation | Payload | Result |
| --- | --- | --- |
| `tracepad.status` | `{}` | `message`, open `editors`, `canRestore` and `busy` |
| `tracepad.clipboard` | `{}` | Opens the clipboard image in an editor and returns `{}` once it is open |
| `tracepad.capture` | `mode` (`region`, `window` or `screen`), optional `delay` | Starts a capture and returns `{}`; read `status` for the outcome |
| `tracepad.open` | `{}` | Shows an open panel and returns `{}`; read `status` for the outcome |
| `tracepad.restore` | `{}` | Reopens the most recently closed screenshot in a fresh editor |
| `tracepad.handoff` | `{}` | Writes the newest editor's flattened PNG and returns `version`, `path`, `pixelWidth`, `pixelHeight` and `scale` |

`capture` and `open` are interactive, so they start the action and return at
once. Only one capture or open runs at a time; a second request fails with
`Finish the current capture first.` A capture that is dismissed with Escape, or
that ends without an image, leaves `Capture cancelled.` in `status`.

`clipboard` reads an image file URL, PNG, TIFF, JPEG or HEIC data from the
clipboard and fails with `Copy an image first.` when there is none. At most
three editors are open at once.

`handoff` keeps the four newest files in a private temporary folder and deletes
older ones as new files are written. Every file is removed when Tracepad stops,
so copy the PNG elsewhere if you need to keep it.

## 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
