Social Preview (Open Graph & Twitter Card) Check
social_preview_checkPrevent broken social link previews by validating Open Graph and Twitter Card tags, checking the og:image loads, and flagging relative image URLs.
Instructions
Validate the tags that build link-preview cards on X, LinkedIn, Facebook, Slack, WhatsApp and Discord: og:title, og:description, og:image, og:url, og:type, og:site_name and the twitter:* family. Optionally verifies the preview image actually loads, and flags the classic bug of a relative og:image URL (social scrapers require absolute URLs).
Args:
url (string): the page to check.
check_image (boolean): verify the og:image resolves (default true).
response_format ('markdown' | 'json'): output format (default 'markdown').
Returns: { open_graph{}, twitter{}, og_image_url, og_image_reachable, og_image_status, score, grade, findings[] }.
Example: "Why does my link preview look broken on LinkedIn?" -> social_preview_check(url="https://example.com/post").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to analyse, e.g. 'https://example.com/blog/post'. The scheme defaults to https://. | |
| check_image | No | Issue a HEAD request to confirm the og:image actually loads. | |
| response_format | No | Output format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| grade | Yes | ||
| score | Yes | ||
| Yes | |||
| findings | Yes | ||
| final_url | Yes | ||
| open_graph | Yes | ||
| og_image_url | Yes | ||
| og_image_status | Yes | ||
| og_image_reachable | Yes | ||
| og_image_content_type | Yes |