{"uid":"cap_eH15p-KXJdTPxlfWPG2eq","slug":"agent402-tools-link-preview-card-generator-9eb6ab6c","name":"agent402.tools Link Preview Card Generator","description":"Bundled execution of the Link preview card workflow - The 'turn a URL into a card-shaped preview' workflow. Pull OpenGraph/Twitter card metadata, fetch the article body as a description fallback, normalize the og:image into a standard 1200×630 social card variant and a 400×400 square thumbnail, and extract URL/mention entities from the body for related-link surfacing. Five tools, one structured card payload ready for chat embeds, social shares, or RSS-to-card pipelines.","url":"https://agent402.tools/api/skill/link-preview","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) URL to build a preview card for (e.g. https://example.com/article)"}}},"responseSchema":{"type":"json","example":{"args":{"url":"https://example.com"},"pack":"link-preview","steps":[{"ok":true,"slug":"meta","result":{}},{"ok":true,"slug":"extract","result":{}},{"ok":true,"slug":"image-resize","result":{}},{"ok":true,"slug":"image-thumbnail","result":{}},{"ok":true,"slug":"extract-entities","result":{}}],"summary":"5/5 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_13K3au1Nv8r2YgexuRKiC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL and returns a normalized link preview card with OpenGraph/Twitter metadata, article description fallback, and standardized 1200×630 image","exampleAgentPrompt":"Can you build me a link preview card for https://techcrunch.com/2024/05/15/openai-announces-new-model/ — I need the title, description, and a normalized 1200×630 preview image pulled from its OpenGraph and Twitter card metadata?","exampleUseCases":null,"resultDescription":"A structured link preview card object containing the page title, description (from og:description or article body fallback), normalized og:image at 1200×630 resolution, and other OpenGraph/Twitter card metadata extracted from the target URL.","failureModes":["URL is not publicly accessible or returns a non-200 status — preview card cannot be generated","Target page has no OpenGraph or Twitter card tags and no extractable article body — description will be empty","og:image cannot be fetched or normalized — image field may be missing or null","Malformed or non-HTTP(S) URL provided — validation error returned","Target site blocks scrapers or returns CAPTCHA — metadata extraction fails"],"whenToPreferThis":"Use this endpoint when you need a fully normalized, card-ready link preview (title, description, standardized 1200×630 image) from a single public URL, especially when you want automatic fallback from OpenGraph to article body content and image normalization built in — rather than writing custom scraping logic or calling multiple metadata APIs separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:00:28.608Z","isFirstParty":false}