From c1e0f8cfb11e2d867fb415bf5c1c9f935104310e Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Fri, 27 Feb 2026 09:25:08 +0530 Subject: [PATCH] docs(nodes): document android camera list and device actions --- docs/nodes/camera.md | 6 ++++++ docs/tools/index.md | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/nodes/camera.md b/docs/nodes/camera.md index 3d5416a5448..2be8025ffa0 100644 --- a/docs/nodes/camera.md +++ b/docs/nodes/camera.md @@ -100,6 +100,12 @@ If permissions are missing, the app will prompt when possible; if denied, `camer Like `canvas.*`, the Android node only allows `camera.*` commands in the **foreground**. Background invocations return `NODE_BACKGROUND_UNAVAILABLE`. +### Android commands (via Gateway `node.invoke`) + +- `camera.list` + - Response payload: + - `devices`: array of `{ id, name, position, deviceType }` + ### Payload guard Photos are recompressed to keep the base64 payload under 5 MB. diff --git a/docs/tools/index.md b/docs/tools/index.md index fa35a63cb7b..0a9024880c4 100644 --- a/docs/tools/index.md +++ b/docs/tools/index.md @@ -354,8 +354,9 @@ Core actions: - `pending`, `approve`, `reject` (pairing) - `notify` (macOS `system.notify`) - `run` (macOS `system.run`) -- `camera_snap`, `camera_clip`, `screen_record` -- `location_get` +- `camera_list`, `camera_snap`, `camera_clip`, `screen_record` +- `location_get`, `notifications_list` +- `device_status`, `device_info` Notes: