Skip to main content
ReferenceStudio's own tools

Through Studio, Claude gets nine tools beyond the camera's own operations. They work the way you talk on set (“a bit brighter”, “undo that”), measure and see the live picture, and switch Studio's scopes and overlays.

Only Studio serves them. npx darkgrade mcp, or a server you write yourself, has the camera tools in the tool reference and nothing on this page.

ToolDoes
adjust_exposureBrighter or darker by stops, moving the right setting
adjust_color_temperatureWarmer or cooler by kelvin
undo_last_changePuts back the last setting change
analyze_frameMeasures the live picture: exposure, colour cast, sharpness. Reads only.
get_frameThe live picture as an image. Reads only.
set_live_viewLive view on or off
set_studio_viewStudio's scope, zebras and focus peaking
set_camera_display_overlayThe camera's on-screen display over live view
get_shooting_guidanceStudio's rules of thumb for exposure, colour and focus. Reads only.

Studio tells your AI app that the three marked Reads only change nothing, so the app can run them without asking you first. Studio also serves two vision tools in Developer Mode and two performance tools.

Camera tools in Studio

Studio serves the camera_ tools in the tool reference, with three differences from a server you run yourself:

  • No camera argument. Tools act on the camera Studio has open.
  • Studio owns the connection. camera_discover, camera_connect, camera_disconnect and camera_recover are not offered. Studio connects when you plug the camera in and recovers a stuck camera itself.
  • Loose values. A setting value is matched against the camera's choices in any case and in everyday words, so "daylight" finds "Daylight" and "manual" finds "MF". A setting changed this way can be put back with undo_last_change, except a colour temperature or audio level set to an exact number with camera_set_color_temperature or camera_set_audio_level.

Exposure and colour

adjust_exposure

Makes the picture brighter or darker by a number of stops, choosing which setting to move. One stop doubles or halves the light.

ArgumentDescription
stopsA number from −5 to 5. Positive is brighter. Thirds such as 0.33 work.
usingWhich setting to move: auto (the default), iso, shutterSpeed or aperture.

With auto, Studio tries settings in order and moves the first one that can move:

Camera modeOrder
PhotoISO, then shutter speed, then aperture
VideoISO, then aperture, then shutter speed, so the shutter keeps its motion blur

A setting is skipped when the camera doesn't offer it, it is locked in the current mode, it is set to auto, or it is already at its limit. If none can move, the tool fails and says why for each. The setting moves to the camera's choice nearest the stops you asked for, and the result names it:

{
  "changed": "ISO",
  "from": "ISO 400",
  "to": "ISO 800",
  "requestedStops": 1
}

adjust_color_temperature

Makes the picture warmer or cooler from the current colour temperature. The result is rounded to the nearest 100 K.

ArgumentDescription
kelvinA number from −3000 to 3000. Positive is warmer (more orange), negative cooler (bluer).

White balance must already be in its colour temperature mode. If it isn't, the tool fails and says so; ask Claude to switch white balance first.

{
  "changes": [
    { "colorTemperature": { "from": 5600, "to": "5900" } }
  ]
}

undo_last_change

Puts back the last setting change an AI app or Studio's voice assistant made, and returns what it restored. Call it again to step further back. Studio remembers the last 50 changes. Takes no arguments.

{
  "restored": [{ "setting": "iso", "to": "ISO 400" }]
}

It restores settings only. A photo, a recording, or a change you made in Studio's window or on the camera body is not undone. With nothing to undo it fails with Nothing to undo: no settings have been changed yet.

See and measure the picture

These two tools let Claude see the picture: get_frame shows it the live view, and analyze_frame measures it. Both read Studio's live view, so it has to be on. If it is off they fail with Live view is off, so there is no picture to look at; set_live_view turns it on.

analyze_frame

Measures the current live picture the way Studio's scopes do, and returns numbers a model can reason about. Takes no arguments.

FieldWhat it says
exposure.verdicttoo dark, too bright, good or both ends clipped
exposure.suggestedStopsThe adjust_exposure step that would fix it, in thirds of a stop. 0 when good.
histogramMean brightness, percentiles, share of clipped highlights and crushed shadows, shadows / midtones / highlights, and highlight headroom in stops
waveform.thirdsMean and peak brightness of the left, centre and right thirds of the frame
vectorscopeMean saturation, warmth (positive is orange), tint (positive is magenta) and the share of oversaturated pixels
sharpnessFine-detail readings for the centre and the whole picture. Compare two readings; higher is sharper.

Claude applies suggestedStops only when you ask it to fix the exposure. For a question (“is this too dark?”) it reports the verdict.

get_frame

Returns the current live picture as a JPEG, scaled down to 768 pixels wide if it is wider, with its width and height. Claude uses it to answer questions about framing, the subject and the light. Takes no arguments.

The camera's own camera_get_live_view_frame returns the full-size frame with the camera's focus frames.

Studio's view

set_live_view

Turns Studio's live view on or off. Takes one argument, on: true or false.

set_studio_view

Changes what Studio draws beside and over the preview. These are drawn on the computer; the camera's settings are untouched. Give only what should change.

ArgumentDescription
scopeThe scope beside the preview: histogram, waveform or vectorscope.
zebrastrue or false: zebra stripes over bright areas.
zebraLevelPercentA number from 70 to 100. Stripes appear at or above this brightness.
focusPeakingtrue or false: highlights over sharp edges.
peakingSensitivityA number from 1 to 100. Higher marks softer edges too.

set_camera_display_overlay

Shows or hides the camera's own on-screen display (its menus, icons and readouts) over live view. Takes one argument, on: true or false. For zebras, peaking and scopes, use set_studio_view.

get_shooting_guidance

Returns Studio's shooting guidance as text: how to read the scopes, what a stop is, shutter speed rules for video and photo, aperture, ISO, white balance and focus. Studio sends the same text to your AI app when it connects, so Claude rarely needs to call this. Takes no arguments.

Developer Mode tools

Tick Developer Mode in the Darkgrade Studio menu and Studio serves two more tools. Each runs a vision model on the live picture, or on a .jpg, .jpeg or .png file on your Mac, and returns numbers and a picture. Reconnect your AI app after you tick or untick it, so the app reads the new tool list.

ToolReturns
estimate_depthDepth in metres: nearest, median, farthest and centre, an 8 × 8 grid of median depths, the focal length it used, and a depth map (red near, blue far)
segment_objectsEvery instance of a short noun phrase (“person”, “red car”): its score, its box as fractions of the frame, its share of the picture, and the picture with the instances outlined
ArgumentDescription
promptsegment_objects only, required: what to find.
thresholdsegment_objects only: the lowest score kept, 0.1 to 1. Default 0.5.
focalLengthPixelsestimate_depth only: the lens's focal length in pixels of the picture. Without it, the model estimates one.
imagePathBoth: the full path of a picture to use instead of live view. Without it, live view has to be on.

Studio downloads a model the first time a tool uses it, then keeps it loaded. Vision Models, in the same menu, switches each one on and off.

Performance tools

Two read-only tools report on Studio itself, for diagnosing a slow preview. They are always served. Both take seconds, 1 to 10, default 3.

ToolReturns
get_performanceEach Studio process's CPU and GPU use, and the Studio window's own parts: draw loops, frame decode and events
trace_performanceThe busiest tasks in the GPU process, the main process and the Studio window over the measured time

Next

⌘I