install_snippet
Insert cookie consent banner and hosted policies into HTML files before . For JSX-based files, provides the snippet and instructions without modifying the file.
Instructions
Insert the LexVibe cookie-banner + hosted-policies snippet into an HTML file, right before . If the file has no literal (e.g. a Next.js App Router layout.tsx), it does NOT modify the file: it returns the snippet plus exact instructions for you (the dev agent) to add it as JSX. Never corrupts user files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File to install into (index.html, app/layout.tsx…). | |
| lang | No | Force the banner language (default: the page's). | |
| appId | No | App id (defaults to LEXVIBE_APP_ID). | |
| theme | No | auto (default): match the banner to this app's colors, fonts and radius. off: LexVibe default look. | |
| accent | No | ||
| position | No | Where the banner sits on screen. |