HealthTools

Provider for the health/fitness tools: GetStepCountTool and GetActivityInfoTool. Only step counting is permission-gated; GetActivityInfoTool needs no permission.

Functions

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

All health McpTools bound to context.

Link copied to clipboard

True when requiredPermissions are granted (always true below API 29).

Link copied to clipboard

ACTIVITY_RECOGNITION is required on Android 10+ (API 29+) to read step counter sensor data. On older versions no permission is needed.