capture_ui_reference
Normalize HTML/JSX/Vue/Svelte markup, inline styles, CSS rules, and Tailwind utility classes into a structured UiReferenceSnapshot with pseudo-state hooks.
Instructions
Normalize HTML/JSX/Vue/Svelte markup, inline styles, CSS rules, and Tailwind utility classes into a structured UiReferenceSnapshot with pseudo-state hooks.
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": {
"markup": "<markup>"
},
"name": "capture_ui_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Optional stylesheet or CSS rules | |
| markup | Yes | HTML, JSX, Vue, or Svelte markup snippet | |
| componentName | No | ||
| sourceFrameworkHint | No |