# How to check a document's pages before rendering them Get a document's page count, page sizes, and file type with an AI agent over MCP before rendering any page — and handle password-protected fi......a document's pages before rendering them Get a document's page...AI agent over MCP before rendering any page — and handle password-protected...