Screenshot catalogue pages
screenshot_pagesRender pages of a catalogue in headless Chromium and return them as images — the same layout pass the PDF export uses, so what you see is what prints. This is how you check your own work after an edit. Ask for up to 6 pages in ONE call: a call paginates once, up to the highest page requested, so capturing pages 55-58 together costs a quarter of what four separate calls do. Pages that do not exist are reported in "missing" rather than silently dropped. Screenshots come from what is STORED — make your edit with update_file or the component tools first. Rendering may fetch external assets referenced by the catalogue and writes render diagnostics.
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": {
"documentId": "<documentId>",
"pages": "<pages>",
"llm_model": "<llm_model>"
},
"name": "screenshot_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | The 1-based page numbers to capture, at most 6. Batch them — one call is one pagination pass. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| documentId | Yes | The catalogue's id, from list_documents. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |