Every tool answers with what the camera did, read back from the camera. This page covers what comes back, which tools change something, and how to keep Claude from acting before you want it to.
What a tool returns
A tool result is text, and for some tools a picture.
- Text. The operation's result as JSON: the value read back after a change, the list of files, the battery level. It is the same result Slate and the CLI's
--jsongive, described under What you get back on each Functionality page. A setting change answers with the value the camera read back, so Claude reports what the camera is set to, not what it asked for. - Picture. A tool that produces an image attaches it, so a model that can see looks at it directly.
| Tool | Picture |
|---|---|
camera_get_live_view_frame | The current live-view picture, a JPEG |
camera_get_media_preview | A JPEG of a photo or clip on the card |
get_frame (Studio) | The live picture, at most 768 pixels wide |
estimate_depth, segment_objects (Studio, Developer Mode) | A depth map, or the picture with the found objects outlined |
A photo you take is not attached. To see it, ask for its preview.
Files: photos and downloads
Files: photos and downloads
File bytes never travel inside the JSON. Where a result holds a file, the JSON has a name and the size instead:
{ "file": "DSC01234.JPG", "bytes": 8123456 }What happens to the file itself depends on what serves the tools:
- Studio reads it from the camera and does not keep it. A photo is still on the card, unless you asked for the
computerOnlydestination. npx darkgrade mcpsaves it inPictures/Darkgradein your home folder, or the folder given with--output, with the path in the result'sfileslist. Nothing is overwritten.- Your own process saves it wherever your
saveFileputs it, with the path in the result'sfileslist. WithoutsaveFile, it is not kept.
Served by darkgrade mcp or your own process, the text is { "result": …, "files": [ … ] }: the result, and one entry per file with its role (photo, frame, overlay, preview or download), name, mimeType, bytes and, when saved, path. Ask camera_get_live_view_frame for overlay and your own process also attaches the camera's on-screen display as a second picture. Studio attaches the frame only.
Which tools change the camera
Each tool tells your AI app whether it only reads. Apps use this to decide when to ask you: Claude Code and Claude Desktop ask before a tool runs for the first time, and let you allow it once or from then on.
| Kind | Tools |
|---|---|
| Only read | Every camera_get_… tool, camera_list_media, camera_download_media, and Studio's analyze_frame, get_frame and get_shooting_guidance |
| Change the camera | Every camera_set_… tool, camera_take_photo, camera_start_recording, camera_stop_recording, camera_autofocus, camera_reset_focus_point, camera_nudge_focus, camera_zoom_to, camera_start_zoom, camera_stop_zoom |
| Change the camera (Studio's own) | adjust_exposure, adjust_color_temperature, undo_last_change, set_live_view, set_camera_display_overlay |
| Change Studio's display only | set_studio_view |
No tool deletes files from the card or formats it.
The exact annotations
The exact annotations
MCP tools carry hints, called annotations, that an app can read.
readOnlyHintistruefor the tools that only read.openWorldHintisfalsefor every tool.destructiveHintandidempotentHintare not set by Studio. Your own process setsdestructiveHinttotrueforcamera_take_photoandcamera_start_recordingandfalsefor the rest, andidempotentHinttotruefor the tools that only read.
An app that follows the MCP specification treats a tool with no destructiveHint as possibly destructive, so through Studio every tool that changes something may prompt, set_studio_view included.
Studio's Developer Mode tools (estimate_depth, segment_objects) and its performance tools (get_performance, trace_performance) only read. On your own process, camera_discover only reads, and camera_connect, camera_disconnect, camera_recover and camera_run_benchmark count as changes.
Keep control of the shoot
- Approve as you go. Leave your app's permission prompts on for the tools that change the camera until you trust the session. Allowing the tools that only read is safe at any time.
- Say what is off limits. “Don't take a photo or record until I say” at the start of a conversation holds for the conversation. Studio's instructions already tell the model to shoot, record or download only when you asked.
- Watch Studio. Every change shows in Studio's window as it happens, and you can change a setting there yourself at any time. Tell Claude when you do, so it reads the camera again.
- Undo. Through Studio, ask Claude to “undo that”.
undo_last_changeputs back the most recent setting change Claude made, and asking again steps further back, through the last 50. It doesn't undo photos, recordings, or a colour temperature or audio level that Claude set to an exact number. - Turn it off. Switch Let AI apps control the camera off in Studio's Settings and every tool stops answering.
How commands are sent
- Once. A command that changes the camera is sent one time. If the camera doesn't confirm it, the tool reports that the outcome is unknown and does not send it again, so a retry can't take a second photo by accident. Ask Claude to read the camera before trying again.
- In turn. Calls to one camera take turns, including the ones you make in Studio's window.
camera_stop_recordingandcamera_stop_zoomskip the queue, so stopping never waits. - Checked first. A setting accepts only a value the camera offers now. Through Studio, a loose value such as
"daylight"or"manual"is matched to the camera's own spelling ("Daylight","MF").
When a tool fails
A failed tool returns an error with a sentence saying why. Claude reads it and usually explains it or corrects itself.
| Failure | What happened, and what to do |
|---|---|
| The camera can't do it right now | Nothing was sent: the operation isn't available on this camera or in its current mode. Ask Claude what camera_get_capabilities reports for that operation. It gives the reason. |
| The camera refused, or the value isn't offered | Nothing changed. Ask for the setting's choices and pick one. |
| The outcome is unknown | The command was sent, not confirmed, and not resent. Check the camera or Studio, then decide whether to retry. |
| Studio can't run it now | No camera is connected, the camera is reading its card, or live view is off. The sentence says which. |
Troubleshooting lists each error message and its fix.
A server you run yourself can also answer that the camera is busy. That means wait and try again, not reset USB or power. A busy camera has the fields an app can read.