pageguard_generate_docs
Generate AI-written privacy policies, terms of service, and cookie policies for previously scanned websites. Creates legally compliant documents based on detected tracking technologies, cookies, and third-party data collection from prior scans.
Instructions
Generate AI-written legal compliance documents (privacy policy, terms of service, cookie policy, etc.) for a previously scanned site. Requires a scanId from a prior URL scan and a PAGEGUARD_API_KEY with available credits. Document types: 'single' ($29 — privacy + terms + cookie), 'bundle' ($49 — everything), 'addon_security' ($19), 'addon_a11y' ($19), 'addon_schema' ($19), 'app_bundle' ($39), 'submission_guide' ($19).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scanId | Yes | The scan ID from a previous pageguard_scan_url result | |
| documentType | No | Product type to generate. One of: single, bundle, addon_security, addon_a11y, addon_schema, app_bundle, submission_guide. Defaults to 'bundle'. |