screenshot_session
Capture the current session page as-is without performing actions and return its image path; full-page capture is prepared by default, with raw and viewport options for workflow checkpoints.
Instructions
Screenshot the session's current page as-is — no actions performed. Returns the image path (full-page by default; full_page=false captures just the viewport). Full-page captures are PREPARED for fidelity: sticky/fixed headers are neutralized (no mid-page duplication), animations disabled, reduced-motion emulated, and scroll-reveal sections forced visible — the applied steps are reported in capture_prep. Pass raw=true to capture the unprepared stitch. Use to grab state at a point in a workflow; interactive tools already return screenshots, so don't call this after every step.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "screenshot_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Skip full-page capture preparation (sticky neutralization, reveal forcing) and capture the raw Playwright stitch (default: false). Only affects full-page captures. | |
| mode | No | full (default) | viewport | tiles: full-page capture split into legible tile_height-px images (use for pages taller than ~6000 px — the result also lists tiles[]) | element (needs selector) | |
| selector | No | Clip to one element: screenshot just the first match (for citing evidence). Overrides full_page. | |
| full_page | No | Capture full scrollable page (default: true) | |
| session_id | Yes | Session ID | |
| tile_height | No | Tile height in px for mode='tiles' (default: 1600) |