session
List active device tasks, print the daemon state directory, or save an armed script without closing the current run. Get essential state details for debugging and automation.
Instructions
List active sessions, print the effective daemon state directory, or publish an armed open-to-destination script without closing its session Times out after 90s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional .ad output path for save-script. | |
| udid | No | iOS device UDID selector. | |
| debug | No | Enable debug diagnostics. | |
| force | No | Atomically replace an existing save-script target. | |
| runId | No | Lease run identifier. | |
| action | No | list shows active sessions; state-dir prints the daemon state directory; save-script publishes an armed recording without teardown. | |
| device | No | Device name selector. | |
| serial | No | Android device or Vega VVD 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. | |
| session | No | Agent-device session name. | |
| platform | No | Platform selector used to resolve a device. | |
| includeCost | No | Include per-command agent-cost (cost.wallClockMs, …) in structuredContent. Defaults to off; the default response shape is unchanged. | |
| deviceTarget | No | Device target form. Maps to the CLI --target flag. | |
| responseLevel | No | Response verbosity: token-cheap digest / default (today) / full. Defaults to default; the default response shape is unchanged. | |
| mcpOutputFormat | No | MCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately. | |
| androidDeviceAllowlist | No | Android serial allowlist used for device resolution. |