capture_debug_snapshot
Captures a complete debug snapshot of an Android or iOS app, returning structured JSON with raw observations, optional semantic data, logs, screenshots, and freshness metadata for troubleshooting.
Instructions
Capture a complete debug snapshot (raw observation layer plus optional derived semantic layer). Returns structured JSON with snapshot_revision, captured_at_ms, snapshot_delta, and loading_state when detectable. Returns evidence metadata with acquisition intervals and conservative freshness. Optional actionRef links a known same-session/device action; unavailable references collect independently. Device log times are not comparable with host dispatch times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | Optional appId to scope logs (package/bundle id) | |
| reason | No | Optional reason for snapshot | |
| deviceId | No | Optional device serial/udid | |
| logLines | No | Maximum number of log lines to include | |
| platform | No | Optional platform override | |
| actionRef | No | ||
| sessionId | No | Optional log stream session id to prefer | |
| includeLogs | No | Whether to include logs | |
| includeScreenshot | No | Whether to collect screenshot bytes |