appium_context
List all available Appium contexts or switch the active session to a target context such as NATIVE_APP or a WEBVIEW, so mobile automation targets the correct app view.
Instructions
Manage Appium contexts with one tool. action=list returns all contexts and current context. action=switch changes to a target context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Use list to fetch contexts or switch to change context. | |
| context | No | Required when action is switch. Common values: NATIVE_APP or WEBVIEW_<id>/WEBVIEW_<package>. | |
| sessionId | No | Session ID; defaults to the active session. |