Get Device State
device.registry.stateRetrieves the current state and data points for a single owned physical device through a linked vendor connection, using a connection ID and device ID.
Instructions
Read the current state (data points) of one physical device the calling agent owns via a linked vendor connection. Requires connection_id (from device.list) and device_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | The vendor's device id (from device.list) | |
| connection_id | Yes | Your device-connection id from /connect/device/connections |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |