data_html_convert
Convert HTML to JavaScript, PHP, C#, JSP, ASP, Perl, UBB, or Markdown, and reverse UBB to HTML. Choose direction and target format for code/markup transformation.
Instructions
HTML 与其他代码/标记格式互转。target 可选 js/php/cs/jsp/asp/perl/ubb/markdown;ubb 支持双向(direction=to_html 时输入 UBB)
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>",
"target": "<target>"
},
"name": "data_html_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML 内容(direction=to_html 时输入 UBB) | |
| target | Yes | ||
| direction | No | from_html |