See how much space the card in a Sony, Canon or Nikon camera has, list the photos and clips on it, look at one, and copy it to your computer. Nothing on the card is ever deleted or changed.
| What | Does |
|---|---|
| Card space | Free space, photos and recording time left. |
| List photos and clips | The photos and clips on the card, newest first. |
| Preview a file | A small JPEG of a photo or clip. |
| Download a file | Copy a photo or clip off the card. |
Each example has a tab per product. Pick yours once and every example follows. In Studio, the microphone that starts voice is under the picture. MCP tabs show the tool Claude calls on Studio; on your own server the tools also take camera. Each CLI command opens the camera, does one thing and closes it.
Card space
For each card slot: the free space, how many photos still fit and how much recording time is left, as the camera reports them now.
The camera pill shows the space left on the card. Click it for the photos and video that still fit.
Or click the microphone and ask “How much space is left?”Ask Claude: “How much space is left on the card?”
→ camera_get_card_status {}npx darkgrade camera get-card-statusconst cards = await camera.getCardStatus()
// one entry per card slotWhat you get back
What you get back
Slate returns a list of CardStatus. MCP and the CLI return the same fields as JSON.
slot·number
The card slot: 1 for the first.state·"ready""absent""error""unknown"ready: a card is in and readable.unknown: the camera did not say.writable·boolean· optional
Whether the camera says it can record to this card; absent when it does not say.capacityBytes·number· optional
The size of the card, in bytes.freeBytes·number· optional
The space left, in bytes.photosRemaining·number· optional
How many photos still fit at the current format.recordingSecondsRemaining·number· optional
The recording time left, in seconds, at the current video settings.
Also called card info, free space, photos remaining, recording time left, storage info. Slate reference: getCardStatus
List photos and clips
Lists the photos and clips on the card, newest first. Each has an id that the preview and the download take.
In the sidebar, open Card to see the files on the card.
Or click the microphone and ask “What's on the card?”Ask Claude: “What's on the card?”
→ camera_list_media {}npx darkgrade camera list-media --jsonconst items = await camera.listMedia() // newest firstWhat you get back
What you get back
Slate returns a list of MediaItem. MCP and the CLI return the same fields as JSON.
id·string
The id that the preview and the download take. It stays the same after a reconnect.name·string
The file name on the card, such asDSC01234.ARW.kind·"photo""clip""other"
Whether the file is a photo, a clip, or something else.slot·number
The card slot the file is in: 1 for the first.sizeBytes·number· optional
The size of the file, in bytes.capturedAt·string· optional
When it was taken, in the camera's local time, such as2026-11-24T14:05:09.widthPixels·number· optional
The width of the picture, in pixels.heightPixels·number· optional
The height of the picture, in pixels.previews·readonly MediaPreviewSize[]
The preview sizes this file has:thumbnail,preview, or both.
- An id stays the same after a reconnect, for as long as the file is on the card.
- The first list on a full card can be slow, because some cameras describe each file separately.
Also called list photos, list clips, gallery, card index, browse card. Slate reference: listMedia
Preview a file
Gets a JPEG picture of a photo or clip on the card: a small thumbnail, or a larger preview where the camera has one.
In the sidebar, open Card and click a file to see it large.Ask Claude: “Show me the last photo.”
→ camera_list_media {}
then, with the id of the newest item:
→ camera_get_media_preview {"id": "…", "size": "preview"}ID=$(npx darkgrade camera list-media --json | jq -r '.[0].id')
npx darkgrade camera get-media-preview "$ID" --size preview \
--output preview.jpgconst [item] = await camera.listMedia() // newest first
const jpeg = await camera.getMediaPreview(item.id, 'preview')Inputs
Inputs
id· text · required
The id of a file, from List photos and clips.size·thumbnailpreview· CLI--size
Defaultthumbnail.previewis a larger JPEG. Each file in the list says which sizes it has, aspreviews.
What you get back
What you get back
The JPEG's bytes in Slate. The CLI saves them as <id>-preview.jpg unless --output names a file, and MCP attaches the picture for Claude to look at.
Also called thumbnail, get thumbnail, media thumbnail, preview photo. Slate reference: getMediaPreview
Download a file
Copies a photo or clip off the card to your computer. Nothing on the card is deleted or changed.
In the sidebar, open Card, hover over a file and click its download arrow. Download all copies every file.
Files go to the folder named at the bottom of Card: Darkgrade Studio in your Pictures folder, unless you change it.Ask Claude: “Download the last clip.”
→ camera_list_media {}
then, with the id of the newest item:
→ camera_download_media {"id": "…"}
Claude gets the file's name and size, not the file.ID=$(npx darkgrade camera list-media --json | jq -r '.[0].id')
# Pass --output: a download has no file name of its own.
npx darkgrade camera download-media "$ID" --output clip.mp4import { writeFile } from 'node:fs/promises'
const [item] = await camera.listMedia() // newest first
const bytes = await camera.downloadMedia(item.id)
await writeFile(item.name, bytes)Progress and cancel. Slate reports progress as the file arrives and can cancel part-way. MCP and the CLI run a download to the end.
const controller = new AbortController()
const bytes = await camera.downloadMedia(item.id, {
onProgress: (received, total) => console.log(received, total),
signal: controller.signal, // controller.abort() cancels
})Inputs
Inputs
id· text · required
The id of a file, from List photos and clips.onProgress·(receivedBytes, totalBytes) => void· Slate only
Called after each part of the file arrives.signal·AbortSignal· Slate only
Cancels the download between parts.
What you get back
What you get back
The file's bytes in Slate. The CLI saves them as <id>-download (<id>-download.jpg for a JPEG) unless --output names a file, so pass --output for clips and RAW photos.
- Over MCP the file is not sent to Claude, and Studio's server does not save it. To get a file onto disk, use Studio's Card section, the CLI or Slate, or give your own server a
saveFile.
Also called get media, save to computer. Slate reference: downloadMedia