GetAccelerometerTool
Reads the TYPE_ACCELEROMETER sensor (x/y/z acceleration in m/s2). No permissions. With duration_ms (1-5000) it collects a series of samples; otherwise it captures a single reading. See readSensor for the sampling/timeout mechanics. Output: latest x, y, z, accuracy, timestamp, plus a readings list of {x,y,z,timestamp}. Returns ToolResult.error when the device has no accelerometer.