list_child_windows
Enumerate child controls (class, text, rectangle, handle) of a window to locate exact control handles for background input and clicks.
Instructions
Enumerate the child controls of a window (class, text, client rect, handle).
Useful for finding the exact control handle to target with background input - e.g. the 'Edit' control inside Notepad - and its position for background clicks.
Args: params (WinTargetInput): the parent window by hwnd or title.
Returns: str: JSON {"ok": true, "parent_hwnd": N, "count": N, "children": [ {handle, class, text, left, top, width, height, visible}, ...]}. Coordinates are relative to the parent window's top-left.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |