screenshot_chat
Renders a dark-mode QQ chat screenshot starting from a given message ID. Returns a base64 PNG image of the conversation with automatic page fitting.
Instructions
Render a QQ-style dark-mode chat screenshot starting from a given message.
Uses Playwright to render messages as an iPhone-style QQ chat screenshot and returns a base64-encoded PNG image. The screenshot starts from the given message_id and renders downward. If messages fit on one screen, earlier messages are prepended to fill it (bottom-aligned). If they overflow, later messages are cut off.
Requires: Playwright browser (lazy-started on first call). If the message_id is not found in the buffer, returns an error.
Use get_recent_context first to find valid message_ids. The screenshot is read-only and does not modify the chat.
Read-only. No side effects on the chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| message_id | Yes | ||
| target_type | No | group |