ui_snapshot
Capture a named UI snapshot limited to specified fields, with optional filters for control type, automation ID, root ID, or XPATH. Retrieve targeted interface data while debugging .NET apps.
Instructions
Capture a named field-limited UI snapshot.
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": {
"snapshot": "<snapshot>",
"fields": "<fields>"
},
"name": "ui_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| xpath | No | ||
| fields | Yes | ||
| root_id | No | ||
| snapshot | Yes | ||
| max_results | No | ||
| control_type | No | ||
| automation_id | No |