text_filter
Filter HTML by removing script, style, and other tags. Optionally keep specific tags like p or b, and replace removed tags with custom text.
Instructions
HTML 标签过滤:移除 script/style 与标签,可选保留指定标签,可选替换为自定义文本
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| keep_tags | No | 逗号分隔的保留标签,如 'p,b,strong' | |
| replace_with | No | 被移除标签替换成的文本(默认空格) |