list_windows
Retrieve a list of windows on a HarmonyOS device, optionally filtered by device or app, for UI automation and inspection purposes.
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": "list_windows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | ||
| hdc_server | No | ||
| bundle_name | No |