Get effect code
get_effectGet the source code of one catalog element by id: files with the attribution header, npm dependencies, shadcn registry dependencies and the shadcn install command. Counts toward the daily code limit of the account (shared with the Dotmira site and the registry; the same element again the same day is free).
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": {
"id": "<id>"
},
"name": "get_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Element id from search_effects, e.g. "glow-button" or "hextaui--accordion". | |
| framework | No | Preferred variant when an element has several (e.g. "react" or "html-css"). |