Skip to main content
FunctionalityBattery and clock

What powers a Sony, Canon or Nikon camera and how long it will last, and the camera's clock, read and set from your computer.

WhatDoes
BatteryCharge, minutes left and power source.
Set the clockSet the camera's date and time.

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.

Battery

Reads the battery level, the minutes the camera expects to last, and whether it runs on battery, USB or mains power.

The camera pill shows the battery. Click it for the time left.
Or click the microphone and ask “How's the battery?”

What you get back

Slate returns a Battery. MCP and the CLI return the same fields as JSON.

  • percent · number · optional
    0–100, when the camera reports a percentage.
  • level · "empty" "low" "medium" "high" "full" · optional
    The camera's coarse level, when it reports one (Canon reports only this).
  • minutesRemaining · number · optional
    The camera's own estimate of the minutes left.
  • powerSource · "battery" "usb" "dc" "poe" "unknown"
    What powers the camera; unknown unless the camera says.
  • batteryPresent · boolean · optional
    Whether a battery is in the camera, when the camera reports it.
  • A field the camera does not report is left out, never guessed.

Also called battery level, power level, power source, charge. Slate reference: getBattery · Will the battery last the take?

Set the clock

Sets the camera's date and time, to now unless you give a time, so file dates line up with your computer's.

Studio sets the camera's clock from your Mac when it connects, then once an hour.

Inputs

  • moment · a date and time · CLI --moment
    The date and time to set. Now when left out. A Date in Slate; ISO 8601 text, such as 2026-12-03T09:00:00, in MCP and on the CLI.

Also called sync clock, set camera time. Slate reference: setClock

⌘I