Operations
| Operation | MCP tool | CLI | Also called | Protocol |
|---|---|---|---|---|
discover | camera_discover | darkgrade cameras | list cameras, find cameras, scan for cameras, detect cameras, enumerate devices | |
connect | camera_connect | darkgrade camera connect | open camera, start session, attach camera | CanonSetRemoteMode, SDIO_Connect (Sony) |
getInfo | camera_get_info | darkgrade camera get-info | device info, identify, model name, firmware version | GetDeviceInfo, CanonGetExtendedDeviceInfo, SDIO_GetExtDeviceInfo (Sony) |
recover | camera_recover | darkgrade camera recover | reset camera, unstick, reconnect, repair connection | ResetDevice |
disconnect | camera_disconnect | darkgrade camera disconnect | close camera, end session | CloseSession |
getCapabilities | camera_get_capabilities | darkgrade camera get-capabilities | get settings, list settings, get controls, list controls, list properties, supported operations, controls | GetDevicePropDesc, GetDevicePropDescEx (Nikon), SDIO_GetAllExtDevicePropInfo (Sony) |
setControl | camera_set_control | darkgrade camera set-control | set setting, set property, set value | SetDevicePropValue, CanonSetDevicePropValue, SetDevicePropValueEx (Nikon), SDIO_SetExtDevicePropValue (Sony) |
autofocus | camera_autofocus | darkgrade camera autofocus | focus, focus once, half press, half-press shutter, AF on, S1 | CanonDoAutofocus, AfDrive (Nikon), ShutterHalfReleaseButton (Sony) |
setFocusPoint | camera_set_focus_point | darkgrade camera set-focus-point | focus position, tap to focus, touch focus, touch AF, move focus point | CanonTouchFramePoint, ChangeAfArea (Nikon) |
resetFocusPoint | camera_reset_focus_point | darkgrade camera reset-focus-point | centre focus point, center focus point, clear focus point | |
nudgeFocus | camera_nudge_focus | darkgrade camera nudge-focus | manual focus, focus near, focus far, focus by step | MfDrive (Nikon), NearFar (Sony) |
zoomTo | camera_zoom_to | darkgrade camera zoom-to | go to focal length, set focal length, zoom position, set zoom | ZoomPosition (Sony) |
startZoom | camera_start_zoom | darkgrade camera start-zoom | zoom in, zoom out, hold zoom rocker, power zoom | |
stopZoom | camera_stop_zoom | darkgrade camera stop-zoom | zoom stop | |
takePhoto | camera_take_photo | darkgrade camera take-photo | capture, capture photo, shoot, snap, release shutter, shutter, press shutter, S2, remote release | InitiateCapture, CanonRemoteReleaseOn, CanonRemoteReleaseOff, CanonRemoteRelease, InitiateCaptureRecInMedia (Nikon), InitiateCaptureRecInSdram (Nikon), AfCaptureSDRAM (Nikon), ShutterReleaseButton (Sony), S1S2Button (Sony) |
getLiveViewFrame | camera_get_live_view_frame | darkgrade camera get-live-view-frame | live view, live preview, get frame, preview frame, monitor feed | CanonGetViewfinderData, CanonInitiateViewfinder, StartLiveView (Nikon), GetLiveViewImageEx (Nikon), GetLiveViewImg (Nikon) |
getRecordingState | camera_get_recording_state | darkgrade camera get-recording-state | is recording, recording status | MovieRecordingState (Sony) |
startRecording | camera_start_recording | darkgrade camera start-recording | record, start video, start movie, roll | StartMovieRecord (Nikon), MovieRecButton (Sony) |
stopRecording | camera_stop_recording | darkgrade camera stop-recording | stop video, stop movie, cut | EndMovieRecord (Nikon), MovieRecButton (Sony) |
getCardStatus | camera_get_card_status | darkgrade camera get-card-status | card info, free space, photos remaining, recording time left, storage info | GetStorageIDs, GetStorageInfo |
listMedia | camera_list_media | darkgrade camera list-media | list photos, list clips, gallery, card index, browse card | GetObjectHandles, SDIO_GetContentInfoList (Sony) |
getMediaPreview | camera_get_media_preview | darkgrade camera get-media-preview | thumbnail, get thumbnail, media thumbnail, preview photo | GetThumb, SDIO_GetContentCompressedData (Sony) |
downloadMedia | camera_download_media | darkgrade camera download-media | download, get media, save to computer | GetObject, GetPartialObject, GetPartialObjectEx (Nikon), SDIO_GetPartialLargeObject (Sony) |
getBattery | camera_get_battery | darkgrade camera get-battery | battery level, power level, power source, charge | |
setClock | camera_set_clock | darkgrade camera set-clock | sync clock, set camera time | UTCTime (Canon), DateTimeSetting (Sony) |
on | library only | darkgrade camera watch | listen, add listener, events, event stream | CanonGetEventData, GetEvent (Nikon), GetEventEx (Nikon) |
off | library only | unsubscribe, remove listener, stop listening |
Settings
Every setting is alsosetControl(id, value) and darkgrade camera set-<setting>.
| Setting | Library | Also called |
|---|---|---|
shutterSpeed | getShutterSpeed / setShutterSpeed | shutter speed, shutter angle, shutterAngle, exposureTime, exposure time |
iso | getIso / setIso | sensitivity, exposure index, gain, EI |
aperture | getAperture / setAperture | f number, f-stop, iris, T-stop |
exposureMode | getExposureMode / setExposureMode | exposure mode, exposure program, shooting mode, PASM, mode dial, exposureProgramMode |
exposureCompensation | getExposureCompensation / setExposureCompensation | exposure compensation, EV, exposure comp, exposure bias |
meteringMode | getMeteringMode / setMeteringMode | metering mode, metering |
photoVideoMode | getPhotoVideoMode / setPhotoVideoMode | photo video, photo/video, still/movie, movie mode, video mode, stills, motion |
driveMode | getDriveMode / setDriveMode | drive, release mode, burst, continuous shooting, still capture mode |
whiteBalance | getWhiteBalance / setWhiteBalance | white balance, wb |
colorTemperature | getColorTemperature / setColorTemperature | colour temperature, color temperature, kelvin |
pictureStyle | getPictureStyle / setPictureStyle | look, picture style, picture control, creative look, creative style, film simulation |
pictureProfile | getPictureProfile / setPictureProfile | picture profile, gamma, log |
focusMode | getFocusMode / setFocusMode | focus mode, One-Shot, AI Servo, Movie Servo AF, movie servo autofocus |
focusArea | getFocusArea / setFocusArea | focus area, AF area, AF method |
subjectDetection | getSubjectDetection / setSubjectDetection | subject recognition, subjectRecognition, eye tracking, eye AF, face detection, subject detection |
detectionSubject | getDetectionSubject / setDetectionSubject | recognition target, recognitionTarget, subject to detect, detection subject |
eyeSelection | getEyeSelection / setEyeSelection | eye select, eyeSelect, eye selection |
continuousAutofocus | getContinuousAutofocus / setContinuousAutofocus | continuous AF, continuous autofocus |
photoFormat | getPhotoFormat / setPhotoFormat | still format, stillFormat, image format, imageFormat, file format, file type, image quality |
photoSize | getPhotoSize / setPhotoSize | image size, imageSize |
aspectRatio | getAspectRatio / setAspectRatio | aspect ratio |
jpegQuality | getJpegQuality / setJpegQuality | jpeg quality |
rawCompression | getRawCompression / setRawCompression | raw compression, NEF compression, raw file type |
flashMode | getFlashMode / setFlashMode | flash mode, flash |
videoFormat | getVideoFormat / setVideoFormat | codec, movie format, movieFormat, recording format |
videoQuality | getVideoQuality / setVideoQuality | resolution, bit rate, bitrate, record setting, movie setting, movieSetting, movie quality |
frameRate | getFrameRate / setFrameRate | fps, movie frame rate, movieFrameRate |
audioRecording | getAudioRecording / setAudioRecording | sound, movie audio, movie sound, sound recording |
digitalZoom | getDigitalZoom / setDigitalZoom | zoom setting, zoomSetting, zoom mode, zoomMode, zoom range |
liveViewQuality | getLiveViewQuality / setLiveViewQuality | live view quality, preview quality, live view image quality |
Words
Names are compared word by word after these are replaced, socapturePicture reads as takePhoto.
| Slate says | For |
|---|---|
| take | capture, shoot, snap, release, trigger, fire, grab, initiate |
| photo | picture, pictures, image, images, still, stills, shot, snapshot, pic, photos |
| video | movie, film, motion |
| recording | record, rec, recorder |
| live view | liveview, evf, viewfinder, lv |
| focus | af |
| autofocus | auto focus |
| manual focus | mf |
| media | content, contents, file, files, object, objects, item, items |
| download | transfer, fetch, pull, copy, import |
| card | storage, sd, slot, memory card, cards |
| clock | date time, datetime, date, time |
| state | status |
| get | read, query |
| list | enumerate, browse |
| set | write, change, adjust, update, apply |
| start | begin |
| stop | end, halt, finish, cancel |
| connect | open, attach |
| disconnect | close, detach |
| nudge | step |