Get a code example
get_exampleRetrieve a complete, source-backed Angular component example—including template and imports—for a specified component, with optional section or variant filters.
Instructions
Return one complete, source-backed code example of a component (a standalone Angular component with its template and imports).
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": {
"component": "<component>"
},
"name": "get_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | Section id or label ("basic", "lazy", "Template"...). Defaults to the first section with code. | |
| variant | No | Feature hint used when no section matches ("outlined", "severity", "icons"...). | |
| component | Yes |