A camera still as pixels
ha_camera_frameFetch a Home Assistant camera's current still, downscale it to requested width and height, and return base64 RGB bytes for rendering images in terminal or text-based dashboards.
Instructions
A camera's current still decoded and shrunk to at most width x height pixels, returned as RGB bytes (base64, 3 a pixel, row by row): for a client that draws pictures in text, such as a dashboard pane in a terminal (two pixels a character cell with half blocks). To look at a camera yourself, use ha_camera_image. Through VomeHome the API key needs Cameras ticked under Sensitive devices.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity_id": "<entity_id>",
"width": "<width>",
"height": "<height>"
},
"name": "ha_camera_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Most pixels across. | |
| height | Yes | Most pixels down. | |
| entity_id | Yes | The camera entity, e.g. 'camera.front_door'. | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |