List device apps
list_device_appsGet the apps actually on one device (asset) in the authenticated company, from the app report the device last sent: package name, app name, version, state (INSTALLED, or REMOVED when it was uninstalled), installedBy (POLICY, USER, SYSTEM = came with the device) and source. Use it to answer "is app X installed / which version", to check whether a policy app reached the device, and to find the package name of an app that came with the device (e.g. the manufacturer's Phone, Camera or Gallery app) instead of asking the user for it: search by name with query. Without a query, system apps are left out (systemAppsHidden counts them) unless includeSystemApps is true. The list is as of reportedAt, not live; an app installed since then appears after the next status report. Being in the policy does not mean an app is on the device: check here. Returns a tool error if no asset 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": "list_device_apps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of apps to return, sorted by name. Defaults to 100, capped at 500. | |
| query | No | Optional case-insensitive text matched against the package name and the app name (e.g. "phone", "dialer", "com.android.chrome"). With a query, every app is searched, system apps included. | |
| 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. | |
| includeSystemApps | No | Without a query, also list system apps (not user facing, not installed by the policy or the user). Defaults to false. |