Set status bar
set_status_barPins a clean, fixed Android status bar in SystemUI demo mode for screenshot documentation, setting clock, battery, signal, and notification visibility; disable it to restore the live bar.
Instructions
Pin a clean status bar via SystemUI demo mode (enabled=true) — fixed clock, chosen signal/battery, no notification icons by default — so screenshots for docs don't leak the wall clock or a random signal state. Optionally set clock (HHMM), battery (0-100), network_type (wifi/mobile/none) with mobile_level/data_type/carrier for mobile, and notifications_visible/notification_icon. Call with enabled=false to restore the live bar.
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": {
"enabled": "<enabled>"
},
"name": "set_status_bar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clock | No | Fixed clock as 4 digits HHMM, e.g. "1200". Only when enabled=true; omit to leave unchanged. | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| battery | No | Fixed battery level 0-100 (shown unplugged). Only when enabled=true; omit to leave unchanged. | |
| carrier | No | Carrier/operator name shown in the status bar. Only used when network_type=mobile. | |
| enabled | Yes | true = enter demo mode (clean, fixed status bar); false = exit and restore the live status bar. | |
| data_type | No | Mobile data-type icon shown next to the signal, e.g. lte, 4g, 5g, 3g, edge, 1x, h, h+, roam. Only used when network_type=mobile. | |
| mobile_level | No | Mobile signal bars 0-4. Only used when network_type=mobile. Default 4. | |
| network_type | No | Network icon: "wifi" (default, full signal), "mobile", or "none" (hide network icons). Only when enabled=true. | |
| notification_icon | No | Best-effort: an AOSP SystemUI icon resource name to show in the first notification slot. Support varies by SystemUI/Android version. Only when enabled=true. | |
| notifications_visible | No | Show notification icons in the status bar. Default false (hidden, for clean screenshots). Only when enabled=true. |