trigger-app-event
Trigger app-defined automation or test events with an optional structured payload. Use only for event names and payload shapes the app documents; times out after 90 seconds.
Instructions
Ask the app to handle an app-defined automation or test event, with an optional structured payload. Call this only for event names and payload shapes the app documents. Times out after 90s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | iOS device UDID selector. | |
| debug | No | Enable debug diagnostics. | |
| event | Yes | Name of an app-defined automation or test event the app documents. | |
| runId | No | Lease run identifier. | |
| 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. | |
| payload | No | Structured payload passed to the event, in the shape the app documents for it. | |
| session | No | Agent-device session name. | |
| noRecord | No | Do not record this action. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| message | Yes | ||
| eventUrl | Yes | ||
| transport | Yes |