How to Merge PDFs with OpenClaw

Automate PDF merging with OpenClaw and ToolRouter. Batch combine documents from URLs.

Tool
PDF icon
PDF

OpenClaw automates repetitive PDF assembly tasks — define a set of source document URLs, specify the merge order, and let it produce the final combined file on a schedule or triggered by an event, with no manual steps.

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 the ordered list of PDF URLs: "Merge these in sequence"
  2. OpenClaw combines all documents and returns the merged file URL
  3. Save the URL or trigger a downstream notification
  4. Schedule the merge to run automatically when source documents update

Example Prompt

Try this with OpenClaw using the PDF tool
Merge these PDFs into a weekly compliance pack: [url1], [url2], [url3]. Return the download link.

Tips

  • Automate recurring document packs — weekly reports, monthly statements, compliance bundles
  • Store the output URL and pass it downstream to a delivery or notification step
  • Pair with the get_info skill to verify each source PDF is accessible before merging