apply_reference_detail
Applies an inspected design reference to existing HTML by matching selectors, then returns original markup, matched selectors, and runnable integration files.
Instructions
Apply an inspected reference to supplied existing HTML. For aperture-hero-reveal pass hero with a host selector, existing media selector and selected treatment. For anchored-field-note pass notes with source text and existing focusable targets. Returns original markup, matched selectors and runnable integration files.
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": {
"referenceId": "<referenceId>",
"html": "<html>"
},
"name": "apply_reference_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hero | No | ||
| html | Yes | ||
| notes | No | ||
| appearance | No | ||
| referenceId | Yes | ||
| referenceVersion | No |