Every tool is a camera operation in snake_case, with the same argument names as Slate. Served by Studio, tools act on the camera Studio has open. Served by npx darkgrade mcp, tools take no camera argument and the server connects for you. On your own server, every tool except camera_discover also takes camera: string, the name your server knows the camera by.
Each tool links to its section in Functionality, with an example and what it returns. An argument with ? is optional. A setting's value must be spelled as its section lists it, and be one your camera offers right now: camera_get_capabilities says which. Results and safety covers what a tool returns, which tools change the camera and what happens when one fails.
Studio also serves tools of its own, such as adjust_exposure and analyze_frame: see Studio's own tools.
Connection
| Tool | Does |
|---|---|
camera_discover | Find cameras. List the cameras plugged in. Served by darkgrade mcp and your own server. |
camera_connect | Connect. Open the camera. Your own server only. Takes observeOnly?: boolean |
camera_get_info | Camera info. Make, model, firmware and connection. |
camera_get_capabilities | What the camera can do. Every setting, its choices, and what works right now. |
camera_set_control | Set any setting. Change a setting by its id. Takes id: string, value: string, framesPerSecond?: number |
camera_recover | Recover a stuck camera. Bring back a camera that stopped answering. Served by darkgrade mcp and your own server.Takes stepTimeoutMilliseconds?: number, waitForDeviceMilliseconds?: number, allowPortReset?: boolean |
camera_disconnect | Disconnect. Close the camera and put it back as it was. Your own server only. |
Studio holds the camera itself, so its server leaves out camera_discover, camera_connect, camera_recover and camera_disconnect. darkgrade mcp leaves out camera_connect and camera_disconnect: it opens the camera the first time a tool needs it.
Exposure
| Tool | Does |
|---|---|
camera_get_exposure_modecamera_set_exposure_mode | Read or set Exposure mode. Set takes value: string |
camera_get_shutter_speedcamera_set_shutter_speed | Read or set Shutter speed. Set takes value: string |
camera_get_aperturecamera_set_aperture | Read or set Aperture. Set takes value: string |
camera_get_isocamera_set_iso | Read or set ISO. Set takes value: string |
camera_get_exposure_compensationcamera_set_exposure_compensation | Read or set Exposure compensation. Set takes value: string |
camera_get_metering_modecamera_set_metering_mode | Read or set Metering. Set takes value: string |
Focus
| Tool | Does |
|---|---|
camera_autofocus | Autofocus. Focus once and say whether it locked. |
camera_set_focus_point | Focus on a point. Focus on a spot in the frame. Takes x: number, y: number, autofocus?: boolean |
camera_reset_focus_point | Reset the focus point. Put the focus point back in the centre. |
camera_nudge_focus | Nudge manual focus. Step focus nearer or farther. Takes direction: "near" | "far", size: "small" | "medium" | "large" |
camera_get_focus_modecamera_set_focus_mode | Read or set Focus mode. Set takes value: string |
camera_get_focus_areacamera_set_focus_area | Read or set Focus area. Set takes value: string |
camera_get_subject_detectioncamera_set_subject_detection | Read or set Subject detection. Set takes value: "On" | "Off" |
camera_get_detection_subjectcamera_set_detection_subject | Read or set Detection subject. Set takes value: string |
camera_get_eye_selectioncamera_set_eye_selection | Read or set Eye selection. Set takes value: "Auto" | "Off" | "Right" | "Left" |
camera_get_continuous_autofocuscamera_set_continuous_autofocus | Read or set Continuous AF. Set takes value: "On" | "Off" |
Zoom and stabilisation
| Tool | Does |
|---|---|
camera_zoom_to | Zoom to a focal length. Go to 35 mm, for example. Takes focalLengthMillimetres: number |
camera_start_zoom | Start zooming. Zoom in or out until stopped. Takes direction: "in" | "out", speed: "slow" | "medium" | "fast" |
camera_stop_zoom | Stop zooming. Stop the zoom. |
camera_get_digital_zoomcamera_set_digital_zoom | Read or set Digital zoom. Set takes value: string |
camera_get_image_stabilizationcamera_set_image_stabilization | Read or set Image stabilisation. Set takes value: string |
Photos
| Tool | Does |
|---|---|
camera_take_photo | Take a photo. Take one photo and get its file name. Takes autofocus?: boolean, destination?: "card" | "computer" | "computerOnly", download?: boolean, rawCompression?: "Compressed" | "Lossless" | "High efficiency★" | "High efficiency", includeInfo?: boolean |
camera_get_drive_modecamera_set_drive_mode | Read or set Drive mode. Set takes value: string |
camera_get_shutter_typecamera_set_shutter_type | Read or set Shutter type. Set takes value: "Auto" | "Mechanical" | "Electronic" | "Electronic front curtain" |
camera_get_flash_modecamera_set_flash_mode | Read or set Flash. Set takes value: string |
camera_get_photo_formatcamera_set_photo_format | Read or set Photo format. Set takes value: string |
camera_get_photo_sizecamera_set_photo_size | Read or set Photo size. Set takes value: string |
camera_get_aspect_ratiocamera_set_aspect_ratio | Read or set Aspect ratio. Set takes value: string |
camera_get_jpeg_qualitycamera_set_jpeg_quality | Read or set JPEG quality. Set takes value: string |
camera_get_raw_compressioncamera_set_raw_compression | Read or set RAW compression. Set takes value: "Compressed" | "Lossless" | "High efficiency★" | "High efficiency" |
Live view
| Tool | Does |
|---|---|
camera_get_live_view_frame | Read a live-view frame. The current picture, as a JPEG. Takes overlay?: boolean |
camera_get_live_view_qualitycamera_set_live_view_quality | Read or set Live-view quality. Set takes value: "Low" | "Medium" | "High" |
Video
| Tool | Does |
|---|---|
camera_start_recording | Start recording. Start a video recording. |
camera_stop_recording | Stop recording. Stop and get the finished clip. |
camera_get_recording_state | Recording state. Whether the camera is recording. |
camera_get_photo_video_modecamera_set_photo_video_mode | Read or set Photo / video. Set takes value: "photo" | "video" |
camera_get_video_formatcamera_set_video_format | Read or set Video format. Set takes value: string |
camera_get_video_qualitycamera_set_video_quality | Read or set Video quality. Set takes value: string |
camera_get_frame_ratecamera_set_frame_rate | Read or set Frame rate. Set takes value: string |
camera_get_audio_recordingcamera_set_audio_recording | Read or set Audio recording. Set takes value: "On" | "Off" | "On (manual level)" |
camera_get_audio_levelcamera_set_audio_level | Read or set Audio level. Set takes value: number |
Colour and look
| Tool | Does |
|---|---|
camera_get_white_balancecamera_set_white_balance | Read or set White balance. Set takes value: string |
camera_get_color_temperaturecamera_set_color_temperature | Read or set Colour temperature. Set takes value: number |
camera_get_picture_stylecamera_set_picture_style | Read or set Look. Set takes value: string |
camera_get_picture_profilecamera_set_picture_profile | Read or set Picture profile. Set takes value: string |
Card and files
| Tool | Does |
|---|---|
camera_get_card_status | Card space. Free space, photos and recording time left. |
camera_list_media | List photos and clips. The photos and clips on the card, newest first. |
camera_get_media_preview | Preview a file. A small JPEG of a photo or clip. Takes id: string, size?: "thumbnail" | "preview" |
camera_download_media | Download a file. Copy a photo or clip off the card. Takes id: string |
Battery and clock
| Tool | Does |
|---|---|
camera_get_battery | Battery. Charge, minutes left and power source. |
camera_set_clock | Set the clock. Set the camera's date and time. Takes moment?: string (ISO 8601) |
Benchmark
| Tool | Does |
|---|---|
camera_run_benchmark | Reads what an idle camera offers (its operations, events and numeric settings) and saves a profile. It takes no photo and records nothing, and can take up to three minutes. Studio does not serve it, darkgrade mcp lists it but cannot run it, and on your own server it fails unless your server offers a benchmark. What differs from StudioTakes camera: string on your own server only |