list_child_windows
Find child controls of a parent window by handle or title, returning their class, text, position, and handle for targeting background input.
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 |