read_sensor
Retrieve sensor readings from Android devices. Specify sensor name and optional number of samples to capture.
Instructions
Read data from a specific sensor.
Args: sensor_name: Name of the sensor (use get_sensor_list to see available sensors) count: Number of readings to take (default: 1)
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": {
"sensor_name": "<sensor_name>"
},
"name": "read_sensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sensor_name | Yes | ||
| count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |