Skip to content

info

Show window geometry and display server info.

No Bridge Required

This command works with any window — no Tauri bridge needed.

Usage

tauri-agent-tools info (--title <regex> | --window-id <id>) [options]

Options

Option Description Default
-t, --title <regex> Window title to match — regex; quote titles with spaces
-w, --window-id <id> Platform window id (from list-windows) — overrides --title
--json Output as JSON

One of --title or --window-id is required.

Examples

Text output

tauri-agent-tools info --title "My App"
Window ID:      12345678
Name:           My Tauri App
Position:       100, 50
Size:           1920x1080
Display Server: x11

JSON output

tauri-agent-tools info --title "My App" --json
{
  "windowId": "12345678",
  "pid": 1234,
  "name": "My Tauri App",
  "x": 100,
  "y": 50,
  "width": 1920,
  "height": 1080,
  "displayServer": "x11"
}

By window id

tauri-agent-tools info --window-id 12345678

Notes

  • The --title flag accepts a regex pattern for matching
  • --window-id skips the title search entirely — take the id from list-windows --json (windowId field); its format is platform-specific (X11/macOS/Sway numeric, Hyprland hex 0x…)
  • --window-id (platform/OS window) is unrelated to --window-label (Tauri webview label, a bridge concept)
  • Window geometry includes decoration (title bar, borders)
  • Display server is one of: x11, wayland, darwin