Get Camera Image
ha_get_camera_imageFetch the current snapshot image from a Home Assistant camera entity for visual analysis, such as security checks or delivery verification. Returns an image, not state.
Instructions
Get a snapshot image from a Home Assistant camera entity.
Fetches the current camera image and returns it directly for visual analysis (security checks, delivery verification, confirming a garage door actually closed), in the format Home Assistant serves (JPEG, PNG, or GIF), alongside a short text block stating the served snapshot's size and retrieval time in Home Assistant local time.
Do not use it to inspect the camera's state or attributes — use ha_search or ha_get_state for those; it returns an image, not state. Use it when you need to see the current scene, and on high-resolution cameras pass width and height to reduce token usage.
EXAMPLE: ha_get_camera_image(entity_id="camera.backyard", width=640, height=480)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Width for the resized image. Home Assistant rescales only when both width and height are given and the camera serves JPEG. | |
| height | No | Height for the resized image. Home Assistant rescales only when both width and height are given and the camera serves JPEG. | |
| entity_id | Yes | Camera entity ID (e.g., 'camera.front_door') |