Get device
get_deviceGet full details for a single device (asset) in the authenticated company by its path name, including policy assignment, custom data, tags, hardware specifications and last known location. Its "lastSync" is the portal's "Last sync" (last contact); "syncedAt" is only the last status report. managedDevice.policyVersion is the current version of the device's policy, the number the portal and policy reads show; whether the device applied it is diagnose's (area policy_sync) to say. Returns a tool error if no device with that id exists in this company.
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": {
"assetId": "<assetId>"
},
"name": "get_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | The asset's path name - the unique identifier returned by search_devices/get_device as "pathName". | |
| company | No | Optional: a `company` value from list_companies to run this in. Omit it for the connection's own company. |