GetActivityInfoTool

Reports which motion/fitness sensors the device exposes (step counter, step detector, accelerometer, gyroscope, heart rate, significant motion) and their specs. No permissions required (this only enumerates hardware; it does not read sensor values). Output: has_step_counter, has_heart_rate_sensor, note, and sensors — a list of per-sensor maps (key, available, plus name/vendor/version/max_range/resolution/power_ma when present).

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
open override val annotations: ToolAnnotations
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val parameters: List<ToolParameter>

Functions

Link copied to clipboard
open suspend override fun execute(params: Map<String, Any>): ToolResult