screenshot
Capture a screenshot of a mobile, desktop, or TV device to debug apps. Supports iOS, Android, Linux, macOS, web, and Apple platforms with customizable output.
Instructions
Capture a screenshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for command execution. | |
| path | No | Output path. | |
| udid | No | iOS device UDID selector. | |
| debug | No | Enable debug diagnostics. | |
| runId | No | Lease run identifier. | |
| device | No | Device name selector. | |
| serial | No | Android serial selector. | |
| target | No | Alias for deviceTarget on commands without a UI target field. Interaction commands reserve target for the UI element. | |
| tenant | No | Remote tenant identifier. | |
| leaseId | No | Existing lease identifier. | |
| maxSize | No | ||
| session | No | Agent-device session name. | |
| surface | No | ||
| platform | No | Platform selector used to resolve a device. | |
| stateDir | No | Agent-device state directory. | |
| stabilize | No | ||
| fullscreen | No | ||
| overlayRefs | No | ||
| deviceTarget | No | Device target form. Maps to the CLI --target flag. | |
| daemonBaseUrl | No | Remote daemon base URL. | |
| daemonAuthToken | No | Remote daemon auth token. | |
| iosXctestEnvDir | No | Writable directory for iOS XCTest runner env overlays. | |
| mcpOutputFormat | No | MCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately. | |
| iosXctestrunFile | No | Externally built iOS XCTest runner .xctestrun artifact path. | |
| iosSimulatorDeviceSet | No | iOS simulator device-set path used for device resolution. | |
| androidDeviceAllowlist | No | Android serial allowlist used for device resolution. | |
| iosXctestDerivedDataPath | No | Derived data path for external iOS XCTest runner execution. |