switch-context
Switch between mobile app contexts like NATIVE_APP and WEBVIEW to enable cross-platform automation testing and interaction with different app components.
Instructions
Switch between contexts (e.g., NATIVE_APP, WEBVIEW)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>"
},
"name": "switch-context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Context to switch to |