Get page screenshot
get_screenshotTake a screenshot of the running preview at desktop (1280x800) and mobile (390x844) widths and return it as images. Use after layout, style or mobile changes to check the result before reporting, and to show the user what the page looks like; pass path for a page other than '/' and viewport 'mobile' for mobile bugs. Needs a READY sandbox; max 6 screenshots per session per minute. Read-only.
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": {
"sessionId": "<sessionId>"
},
"name": "get_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Page to capture, as a path on the preview starting with "/" (default "/"). Not a full URL. | |
| context | No | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| viewport | No | desktop (1280x800), mobile (390x844) or both (default). Use mobile for mobile layout bugs. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| sessionId | Yes | The ronda session id, from open_session or list_sessions. |