Smart Convert
sp_smart_convertConverts HTML to React, Vue, or Svelte while automatically applying accessibility fixes and responsive adaptation through a built-in quality pipeline.
Instructions
Converts HTML to a framework, but auto-detects if it needs accessibility fixes and responsive adaptation first. Runs the full quality pipeline before conversion — no manual chaining needed.
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>",
"framework": "<framework>"
},
"name": "sp_smart_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML to convert — auto-detects needed pre-processing | |
| framework | Yes | Target framework | |
| componentLibrary | No | none | |
| appRouter | No | Next.js App Router (React only) |