Get a component
get_componentFetches complete component documentation—Blade tags, props, slots, requirements, usage snippets, and examples—to help you write correct Laravel view code.
Instructions
Everything about one component: its Blade tags with every prop (default, required, what it does) and slot, its requirements, usage snippets (Livewire included) and working examples. Read it before writing the component into a view.
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": "get_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The component, e.g. "datepicker". | |
| brief | No | Only the first example and the first usage snippet that isn't Livewire (often the controller the routes need); more-examples and more-usage list the rest, each with its title and first sentence. Props, slots and consider notes are always whole. | |
| usage | No | Titles of the usage snippets to give in full, e.g. ["Livewire"]; [] for none. Without it, all of them (the first that isn't Livewire with brief). | |
| examples | No | Titles of the examples to give in full, e.g. ["Filters"]; [] for none. Without it, all of them (the first with brief). |