Ui Json
ui_jsonRetrieve the current device screen hierarchy as JSON to let AI agents inspect UI elements, text, and coordinates for mobile automation.
Instructions
The UI snapshot serialized as JSON text.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ui_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| filter | No | ||
| indent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |