Take screenshot
take_screenshotRenders a page of the preview in a real browser and returns the image plus any console errors. Use it to check your work visually, at mobile size too. Pages are rendered by Xodia's headless browser within a monthly allowance. When it answers that screenshots aren't available, or that it needs the project open in Xodia, don't call it again in this task: ask the user to look in Xodia and check with run_check and get_logs instead. headless_busy means try once more in about 30 seconds.
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": {
"projectId": "<projectId>"
},
"name": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | Path to capture, default / | |
| viewport | No | ||
| full_page | No | Capture the whole page height (up to 6000px). The page is not scrolled, so sections with scroll reveals below the first screen show in their start state (faded or hidden); that is expected. Capture a route with the section's anchor (/#pricing) to see them revealed. | |
| projectId | Yes | Project id from list_projects |