Watch Device Events
watch_device_eventsMonitor Android device events like foreground app, keyboard, screen, and notifications for a set duration or until max events reached. Filter by event type.
Instructions
Collect device events for up to timeout_seconds (default 10, max 30), returning early once max_events (default 50) arrive: foreground app, keyboard, screen content, notifications posted/removed. kinds filters: foreground, keyboard, screen, notifications.
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": "watch_device_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | ||
| device | No | ||
| duration | No | ||
| interval | No | ||
| max_events | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||