How to Populate Link Cards with OpenClaw

Batch fetch link card data with OpenClaw and ToolRouter. Populate content databases with URL metadata at scale.

Tool
Link Preview icon
Link Preview

OpenClaw populates link card data in bulk — process an entire content library, update metadata for URLs that have changed, and keep your resource database current with accurate titles, descriptions, and thumbnails.

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 Link Preview tool:

  1. Provide a list of URLs: "Fetch link card data for all of these"
  2. OpenClaw retrieves metadata for each URL
  3. Ask: "Return the results as a JSON array ready to insert into a database"
  4. Import the structured data into your content management system

Example Prompt

Try this with OpenClaw using the Link Preview tool
Fetch link card metadata for all URLs in this list and return a JSON array with title, description, thumbnail_url, site_name, and url for each: [list of URLs].

Tips

  • Run metadata collection when seeding a new resource library or link database
  • Schedule periodic refreshes to detect when page titles or thumbnails have changed
  • Ask OpenClaw to flag URLs that return errors or redirect chains for manual review