show_page_preview
Show the user an interactive page preview that automatically follows saved changes. Call after completing page changes, or when asked to see a page. Pass the edited target including draftId. Optional inputs, state and dataFixtures use the same visual test overrides as screenshot_page. Fixture query states remain fixed during interactions. Does not edit or publish. Use screenshot_page separately for visual inspection.
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": "show_page_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Optional complete declared initial state overrides | |
| inputs | No | Optional complete top-level input overrides | |
| target | Yes | Target page to display; include draftId to preview the draft being edited. | |
| scenarioId | No | Optional saved preview scenario ID from this page version. Select a scenario or provide ad hoc inputs/state/dataFixtures | |
| dataFixtures | No | Optional fixed query visual states |