probe_tooltips
Hover unnamed icons in the frontmost Mac window to capture their tooltips and label them, turning each drawing into clickable text by name.
Instructions
Let the application name its own icons: hover each unnamed icon of the FRONTMOST window and keep the tooltip it shows. This is the free half of icon labelling — annotate_icons asks you what a drawing is, this asks the program that drew it — so try it first on a window whose observe reply says 'icons: K labeled, M unlabeled'. A name it learns is written onto the drawing and onto every place that drawing appears in that app, exactly as submit_icon_labels writes yours, and from then on it is clickable as ordinary text: {action:'click', target:{text:'Share'}}. THIS ONE MOVES THE MOUSE. It is the only icon tool that touches the screen: the pointer visits each icon, waits out the tooltip delay (about a second and a half per icon, so a full call takes tens of seconds) and is put back where the user left it at the end. It works only on the window that is in front right now — bring the app forward with focus_app first — and it stops early, reporting how far it got, if the user pulls the mouse into the top-left corner, presses the stop button, or switches or moves the front window under it. Nothing is clicked and nothing is typed. limit (default 12, max 40) caps how many icons one call visits. Many controls have no tooltip at all; that is normal and the reply counts them ('showed none') — those are the ones to send to annotate_icons. The reply says how many were hovered, how many were named and which names were written, how many showed nothing, and how many drawings on that window still have no name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |