Quick Start
There are two ways to use tauri-agent-tools: standalone (no bridge needed) and bridge-connected (full feature set).
Standalone (No Bridge)
These commands work with any window — no Tauri bridge required.
1. List windows
This shows all visible windows with their IDs, PIDs, and sizes. Tauri apps with an active bridge are marked.
2. Get window info
Shows window geometry, position, and display server info.
3. Full window screenshot
Captures the entire window as a PNG.
4. Wait for a window
Polls until a window with the matching title appears.
Bridge-Connected (Full Features)
With the bridge set up in your Tauri app, you get access to DOM-targeted commands.
1. Check page state
Shows URL, title, viewport size, scroll position, and Tauri detection.
2. Explore the DOM
3. Screenshot a specific element
tauri-agent-tools screenshot --selector ".toolbar" -o /tmp/toolbar.png
tauri-agent-tools screenshot --selector "#main-canvas" --max-width 800 -o /tmp/canvas.png
4. Monitor IPC calls
Watches Tauri IPC calls in real-time for 10 seconds.
5. Inspect storage
6. Evaluate JavaScript
What's Next
- Bridge Setup — add the Rust bridge to your Tauri app
- Command Reference — all 11 commands with full options
- Platform Support — platform-specific details