get_uptime
Retrieve an Android device's uptime in seconds and as a human-readable string from /proc/uptime and uptime; optionally target a device by serial.
Instructions
Return device uptime (seconds + human string) from /proc/uptime and uptime.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_uptime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||