Get a WunderUI block's source (Pro)
get_block_sourceFetch the React source for a WunderUI UI block and its imported shared helpers, optionally limited to one screen. Use category and block names to inspect exact code.
Instructions
The React source of a UI block (e.g. category 'app', block 'billing'), optionally one screen, plus the shared helpers it imports. Needs a WunderUI Pro key in WUNDERUI_LICENSE_KEY. Use https://wunderui.com/api/registry/index to see every block.
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": {
"category": "<category>",
"block": "<block>"
},
"name": "get_block_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | Yes | ||
| screen | No | ||
| category | Yes |