screenshot_page
Render a permitted page and return desktop (1440x1000) and mobile (390x844) PNG screenshots as image attachments. Defaults to the explicitly selected draft, otherwise live. Set target.draftId to select a private draft. Attendee pages use generated fictional data unless inputs.attendee supplies a complete override. Override inputs and declared initial state to inspect later screens without submitting a form. Use dataFixtures to hold query results in success, empty, idle, loading, error, refreshing or loadingMore states, with built-in samples or custom values. Fixtures apply to built-in galleries and custom data collections. Overrides never edit or publish the document. Each top-level override is a full replacement, not a merge. Waits for rendering, fonts and images; fixture loading states are capture-ready.
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": {
"target": "<target>"
},
"name": "screenshot_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Optional initial state overrides keyed by declared state name. Use plain JSON values | |
| inputs | No | Optional overrides for inputs declared by the page or its host. Values replace complete top-level inputs; supply complete objects and arrays. | |
| source | No | Defaults to working: the explicitly selected draft if present otherwise live. | |
| target | Yes | Target page resource; kind must be page. | |
| dataFixtures | No | Optional fixed query states for visual testing. Omit for normal sample data. When supplied every queried resource must match a fixture; missing matches are errors. An empty array matches nothing. Fixtures never edit or publish the document. |