glass_baseline_save
Save the current window as a named reference image to detect changes later using glass_diff, without spending image tokens on a before-and-after pair.
Instructions
Save the current frame as a named visual baseline — a reference image glass_diff and glass_wait_for_region later compare against, so you can ask what changed without spending image tokens on a before-and-after pair. Captures the whole window at call time (not a saved region), so settle the UI first if something is still animating. Saving over an existing name replaces it silently; baselines live outside the app under a per-server directory and last until the server exits, surviving glass_stop. Use this plus glass_diff to detect change; use glass_screenshot when you actually need to look at the pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name to file this baseline under, reused by `glass_diff` and `glass_wait_for_region`. ASCII letters, digits, `-` and `_` only; saving over an existing name replaces it without warning. |