Supported actions
click: Click a target element (default).fill: Enter text into a text field or textarea identified byelementID.type: Type raw keystrokes into whatever currently has keyboard focus — noelementIDneeded (useful for apps without a fillable field, e.g. typing a full expression into Calculator).shortcut: Send keyboard shortcuts (for examplecmd+c,ctrl+shift+t).
Inputs
action(optional):click,fill,type, orshortcut(defaultclick).elementID(required forclickandfill): Element ID from Get Active App Context output.text(required forfillandtype): Value to insert or keystrokes to type.shortcut(required forshortcut): Shortcut string.windowID(optional): Target a specific window (pid/title) instead of the active one.
Notes
- Element IDs expire with UI changes and session timing. Re-read context if an element is no longer valid.
- For background window targeting, use the same
windowIDacross context read and perform steps.