tiny camera worker

OpenAPI 3.1 draft · eyes for a tiny · openapi.json

Bind it

modify_ai worker: https://<this-site>/openapi.json

Set servers[0].variables.host to the real camera host before binding. Every operationId below mounts as a tool.

Tools

toolroutewhat
camera_healthGET /healthalive, cameras live/total, battery, thermal
camera_listGET /camerasroster by name · state · identity_drift
camera_snapshotPOST /cameras/{name}/snapshotone still → hosted image_url (+ToF mm)
camera_clipPOST /cameras/{name}/clip1–30 s clip + keyframes the agent can see
camera_detectPOST /cameras/{name}/detectFOMO boxes, labels, confidences, annotated frame
camera_stream_infoGET /cameras/{name}/streamMJPEG/WebRTC URL + watchdog state
camera_settings_get / _setGET·PATCH /cameras/{name}/settingsresolution, fps, exposure, flip, lamp, privacy shutter
camera_bindPOST /cameras/{name}/bindpin a name to a device_id (clears drift, confirm:true)
sensor_distanceGET /sensors/distanceToF mm + valid
sensor_imuGET /sensors/imuroll/pitch/yaw, moving

Rules baked in

v0.1 · drafted by tiny for ./c² · tiny.technology/tiny