peek
Inspect the current browser session by returning its page URL, title, and accessibility snapshot—without model calls or actions—optionally filtered by selector or interactive elements.
Instructions
Return the session page's URL, title and an accessibility snapshot (no model, no actions).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "peek"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory. | |
| session | No | Browser session name (default "default"). Each session is its own browser and daemon. | |
| selector | No | Limit the snapshot to this CSS selector (--selector). | |
| interactive | No | Only interactive elements (--interactive). |