DeviceTools

Provider for the device module: read-only hardware and system facts (model, battery, connectivity, storage). Only GetConnectivityTool needs a permission — the normal (install-time) ACCESS_NETWORK_STATE — for ConnectivityManager.getNetworkCapabilities().

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>

Every tool in this module, bound to context.

Link copied to clipboard

True if all requiredPermissions are currently granted.

Link copied to clipboard

Permissions this module needs: ACCESS_NETWORK_STATE, for GetConnectivityTool.