Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw supports camera capture for agent workflows:
jpgmp4node.invokejpgmp4node.invokejpgmp4node.invokeAll camera access is gated behind user-controlled settings.
camera.enabledcamera.*CAMERA_DISABLEDnode.invokecamera.listdevices{ id, name, position, deviceType }camera.snapfacingfront|backfrontmaxWidth1600quality0..10.9formatjpgdelayMs0deviceIdcamera.listformat: "jpg"base64: "<...>"widthheightcamera.clipfacingfront|backfrontdurationMs300060000includeAudiotrueformatmp4deviceIdcamera.listformat: "mp4"base64: "<...>"durationMshasAudioLike
canvas.*camera.*NODE_BACKGROUND_UNAVAILABLEThe easiest way to get attachments is via the CLI helper, which writes decoded media to a temp file and prints
MEDIA:<path>Examples:
bashopenclaw nodes camera snap --node <id> # default: both front + back (2 MEDIA lines) openclaw nodes camera snap --node <id> --facing front openclaw nodes camera clip --node <id> --duration 3000 openclaw nodes camera clip --node <id> --no-audio
Notes:
nodes camera snapcamera.enabledcamera.*CAMERA_DISABLEDCAMERAcamera.snapcamera.clipRECORD_AUDIOcamera.clipincludeAudio=trueIf permissions are missing, the app will prompt when possible; if denied,
camera.**_PERMISSION_REQUIREDLike
canvas.*camera.*NODE_BACKGROUND_UNAVAILABLEnode.invokecamera.listdevices{ id, name, position, deviceType }Photos are recompressed to keep the base64 payload under 5 MB.
The macOS companion app exposes a checkbox:
openclaw.cameraEnabledUse the main
openclawExamples:
bashopenclaw nodes camera list --node <id> # list camera ids openclaw nodes camera snap --node <id> # prints MEDIA:<path> openclaw nodes camera snap --node <id> --max-width 1280 openclaw nodes camera snap --node <id> --delay-ms 2000 openclaw nodes camera snap --node <id> --device-id <id> openclaw nodes camera clip --node <id> --duration 10s # prints MEDIA:<path> openclaw nodes camera clip --node <id> --duration-ms 3000 # prints MEDIA:<path> (legacy flag) openclaw nodes camera clip --node <id> --device-id <id> openclaw nodes camera clip --node <id> --no-audio
Notes:
openclaw nodes camera snapmaxWidth=1600camera.snapdelayMs<= 60sFor screen video (not camera), use the macOS companion:
bashopenclaw nodes screen record --node <id> --duration 10s --fps 15 # prints MEDIA:<path>
Notes:
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine