view_document-guide

Explain view_document tool usage with image and text layer URLs.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Borg93/mcp-apps-viewer --skill view-document-guide-borg93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: view_document-guide
Source: https://github.com/Borg93/mcp-apps-viewer/tree/main/.claude/skills/view-document-guide
Command: npx skills add https://github.com/Borg93/mcp-apps-viewer --skill view-document-guide-borg93

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This guide helps users understand how to effectively use the view_document tool for displaying and interacting with document images and their transcriptions.

Core Features & Use Cases

  • Interactive Document Viewer: Displays zoomable page images with optional text overlays.
  • Text Layer Integration: Supports ALTO and PAGE XML for text selection, search, and accessibility.
  • Use Case: When a user requests to "view document" or provides image/XML URLs, this guide explains how to format the request with image URLs, text layer URLs, optional metadata, and search highlighting.

Quick Start

Use the view_document tool with image_urls and text_layer_urls to display a document.

Frequently Asked Questions about view_document-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I display a document with text overlays for interactive viewing?

To display an interactive document, you use the view_document tool by providing image_urls and text_layer_urls. This renders zoomable page images and integrates text overlays for selection, search, and accessibility.

What XML formats are supported for document text layers?

Document text layers support ALTO v4 and PAGE XML formats. These formats enable text selection, search functionality, and accessibility when integrated with the interactive document viewer.

Can I highlight specific search terms within the document viewer?

Yes, you can highlight specific search terms within the document viewer by using the optional highlight_term parameter. This highlights matching text within the loaded ALTO or PAGE XML text layer.

What are the required parameters to view a document with text layers?

The required parameters to view a document are image_urls and text_layer_urls. Optional parameters include metadata and highlight_term to enhance the interactive viewing experience.

Why is my document viewer not displaying the text layer correctly?

Document viewer text layers may not display correctly due to common user errors in formatting image_urls and text_layer_urls, or using unsupported text layer formats. Ensure you are using ALTO v4 or PAGE XML.