clean_html_tool
Strips scripts and styles from HTML, optionally filtering to allowed tags, to yield sanitized content.
Instructions
Cleans HTML by removing scripts, styles, and optionally limiting to allowed tags.
Args: html: HTML content to clean allowed_tags: List of allowed tags (None = all tags except script/style)
Returns: Dictionary with cleaned HTML
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| allowed_tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||