screenshot
Capture the page viewport as a PNG image. Pass name to also save it to disk (default folder ~/Documents/Dea/Screenshots/<date>/, override with dir); the result then includes the absolute saved path. full_page captures the whole scrollable page.
Example#
Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.
{
"name": "page-review"
}Result#
Returns a PNG image block. With name, also saves a file and returns text metadata with its absolute path; without name, it writes nothing. full_page requests a whole-page capture.
Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | Save to disk as <name>.png and return the path |
dir | string | No | Folder to save into (default ~/Documents/Dea/Screenshots/<date>/) |
full_page | boolean | No | Capture the entire page height, not just the viewport |
tab | string | No | Tab name or id in your workspace; does not change the visible tab. minLength: 1 |
Full input schema#
The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"description": "Save to disk as <name>.png and return the path",
"type": "string"
},
"dir": {
"description": "Folder to save into (default ~/Documents/Dea/Screenshots/<date>/)",
"type": "string"
},
"full_page": {
"description": "Capture the entire page height, not just the viewport",
"type": "boolean"
},
"tab": {
"description": "Tab name or id in your workspace; does not change the visible tab.",
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}Related documentation#
Reference conventions · Agent operating guide · Troubleshooting