How to Get PDF Info with OpenClaw

Batch retrieve PDF metadata with OpenClaw and ToolRouter. Audit document properties at scale.

Tool
PDF icon
PDF

OpenClaw makes bulk PDF audits fast — retrieve metadata for hundreds of documents, identify files that need attention based on age or missing author fields, and output a structured report without manual inspection.

Connect ToolRouter to OpenClaw

1Install the CLI
npm install -g toolrouter-mcp
2Call tools directly from OpenClaw
toolrouter-mcp call web-search search --query "AI tools"
toolrouter-mcp tools

Steps

Once connected (see setup above), use the PDF tool:

  1. Provide a list of PDF URLs: "Get metadata for each of these documents"
  2. OpenClaw retrieves properties for all files
  3. Ask: "Flag any PDFs with a creation date older than 2022"
  4. Export the audit results as a CSV or structured report

Example Prompt

Try this with OpenClaw using the PDF tool
Retrieve metadata for all these PDFs and flag any that were created before 2023 or have no author field: [list of URLs].

Tips

  • Run a metadata check before any batch processing job to catch inaccessible files early
  • Use creation dates to build a document timeline or freshness audit
  • Ask OpenClaw to sort documents by page count to prioritise shorter reads