export_audit_pdf
Generate a PDF report of an on-page SEO audit (score badge, summary cards, severity-colored issues, metadata, content, social tags, optional PageSpeed metrics). Re-runs the audit for the URL and writes file to disk.
Instructions
Generate a professionally laid-out PDF report of an on-page SEO audit (score badge, summary cards, severity-colored issue list, metadata, content/structure, social tags, and optional PageSpeed metrics). Re-runs the audit for the URL and writes a .pdf to disk, returning the file path. Use this after audit_page when the user asks for a PDF report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to audit and export (https:// optional) | |
| path | No | Output file path (default: ./seo-audit-<host>-<date>.pdf in the current directory). ".pdf" is appended if missing. | |
| pagespeed | No | Also run PageSpeed Insights and include performance metrics in the report (default false) | |
| strategy | No | PageSpeed strategy when pagespeed=true: "mobile" (default) or "desktop" |