set_context
Switch the active context to navigate between native UI elements and embedded webviews, enabling targeted automation within Windows applications.
Instructions
Switch the active context. Pass "NATIVE_APP" to return to the UIA element tree, or a "WEBVIEW_" from get_contexts to switch into an embedded 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": {
"name": "<name>"
},
"name": "set_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Context name to switch to |