Capture Native Ui Scenario
capture_native_ui_scenarioRuns scripted press, scroll, text-entry, and bounded wait steps in a single native app window, returning ordered before/after accessibility and screenshot captures plus action failures.
Instructions
Run selected-element press, increment/decrement scroll, AXValue text entry and bounded wait steps in one exact native app window. Returns ordered before/after captures and action/capture failures. Actions can change app data, network activity and persistent state; application state is left as-is and restoration is not attempted.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pid": 123,
"steps": [
{
"kind": "wait",
"milliseconds": 100
}
],
"window_id": 456
},
"name": "capture_native_ui_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| steps | Yes | ||
| max_nodes | No | Maximum accessibility nodes per capture; increase for large windows. | |
| window_id | Yes | ||
| screenshot | No | ||
| accessibility | No |