Add a custom live component to the Lab
inspo_add_componentAdd a custom live component demo to the board's Lab for user voting alongside the built-in library. Submit one standalone HTML document tinted with the board's CSS variables.
Instructions
Add your own live component demo (3D hero, shader, scroll effect, micro-interaction...) to the board's Lab so the user can vote on it next to the built-in library. Must be one standalone HTML document. Use CSS vars --bg --fg --muted --accent --accent2 so the board can re-tint it with a liked style; libraries only from CDN (three via importmap from cdn.jsdelivr.net).
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": {
"name": "<name>",
"category": "<category>",
"description": "<description>",
"html": "<html>"
},
"name": "inspo_add_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| name | Yes | ||
| tags | No | ||
| session | No | Session id. Defaults to the most recent session in this project. | |
| category | Yes | ||
| description | Yes |