Check a Foliyo before publishing
preflight_htmlValidate HTML (static by default, or interactive:true for the sandboxed mode) and inline explicit image/font/CSS assets without publishing. Returns ready and issues; the prepared HTML is returned only when includeHtml is true. publish_html runs the same checks, so this is optional. Does not visually render or fetch external URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Existing page to check for accidental content removal. | |
| html | Yes | ||
| assets | No | ||
| includeHtml | No | Also return the prepared HTML. Off by default to keep the reply small. | |
| interactive | No | Check as an interactive page (scripts kept, sandbox rules applied) instead of static. |