assemble_page
Assembles final HTML pages by removing comments, inlining CSS, and minifying output after content filling.
Instructions
组装最终的可交付 HTML 页面:移除 XML 注释、检查残留占位符、可选内联 CSS、可选压缩输出、写入文件。编排层在所有填充/渲染步骤完成后调用此工具输出最终页面。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"html": "<html>",
"config": "<config>"
},
"name": "assemble_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | 待组装的 HTML | |
| config | Yes | 组装选项 |