Extract Components
sp_extractParses HTML to identify reusable components and maps them to shadcn, radix, or MUI equivalents with confidence scoring.
Instructions
Parse HTML into reusable components and map them to shadcn/radix/MUI equivalents with confidence scoring
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>",
"library": "<library>"
},
"name": "sp_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML to extract components from | |
| library | Yes | Component library to map to | |
| confidenceThreshold | No | Minimum confidence for mapping |