glass_capabilities
Check which GUI operations (input, clipboard, multi-touch, etc.) are supported on a backend before acting, avoiding unsupported errors. Reports live status and required setup steps.
Instructions
Report which operations (input, multi-touch, clipboard, accessibility, window move/resize) can be performed right now on a backend, and any setup a blocked one needs — so you can check before acting instead of hitting an Unsupported error. Each operation reports a live status (supported, degraded — works now at reduced fidelity, note says what's lost; requires_setup — a setup step is missing, note says what; or unsupported — this backend never does it) plus the tools it gates, so a degraded or blocked operation names exactly which tool calls to expect trouble from. Pass backend to query a specific backend by name; omit for the active one. Static — no session required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend | No | Which backend to report: `x11`, `wayland`, `windows`, `macos`, `android`, or `ios`. Omit for the active/default backend (`GLASS_BACKEND`, else the host default). A valid name for a backend not built into this binary reports `available: false`. |