screen_snapshot
Capture and filter on-screen UI elements from iOS apps. Compare snapshots to detect changes, search by text or regex, and limit output for efficient inspection.
Instructions
Read screen → generation-scoped refs (g3t8). PRIMARY read tool. Defaults: onScreenOnly=true, limit=40 (token-safe). TikTok: texts only (tree blocked). search= substring by default; a|b auto-enables regex. showDiff=true compares to previous snapshot. Do not parallelize app acts (tap/swipe/type).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | TikTok forced to texts | |
| limit | No | Max nodes printed, default 40 | |
| search | No | Substring filter; use searchRegex:true or a|b for regex alternation | |
| showDiff | No | Summarize +/− vs previous snapshot | |
| searchRegex | No | Force regex (default auto if search contains |) | |
| onScreenOnly | No | Default true: hide off-screen nodes from output |