page_screenshot
Captures a screenshot of an open or closed page to check a UI design for the current project, with optional viewport size, selector, or full-page capture.
Instructions
Screenshot a page (open or closed) to check a UI design for the current project; never to polish investigation or other information pages. Captures a 1280x800 viewport unless you pass a size, selector or fullPage. Embed-template pages are captured at the embedded URL. Show the page first with page_show background: true so the capture does not take focus.
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": "page_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Tab id, e.g. t_ab12cd34. | |
| key | No | Page key, e.g. scribe:sprint-notes (the scribe: prefix is optional). | |
| click | No | CSS selector to click after load, before capture. State writes, actions and signals are ignored; prefer local for views kept in scribe.local. | |
| local | No | scribe.local for this capture only (a view switcher, an open panel); laid over fromViewer. Not on embed pages. | |
| width | No | Viewport width, 320–1600. Default 1280. | |
| height | No | Viewport height, 320–1600. Default 800. | |
| fullPage | No | The whole scrolling page, up to 6000px tall. | |
| selector | No | Capture the first visible match of this CSS selector. | |
| fromViewer | No | Start from the user's last saved scribe.local for this page (not their scroll or window size). |