Add Component Tool
add-component-toolGet everything needed to install an Aura UI component or block into a Laravel project: the php artisan aura:add command, the resolved transitive dependency tree, the file list, and (optionally) the Blade source of each file. Call this when you are ready to install a component you found via list/search/get.
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>"
},
"name": "add-component-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The component or block name, e.g. "button", "date-picker", "hero-split". | |
| with_source | No | Include the Blade source of each file (default true). |