affectUI item source
get_sourceThe full .tsx source of an item, to write to components/ui/.tsx when the shadcn CLI isn't available. Pro items need the user's access key in the MCP connection.
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": {
"slug": "<slug>"
},
"name": "get_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The item's slug, e.g. reaction-bar – add -clean for the clean style, e.g. ai-answer-clean |