list_components
Lists all JSX components in a file, providing their locations, props, and children information to help developers navigate and understand component structure.
Instructions
List all JSX components in a file with their locations, props, and children info.
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": {
"filePath": "<filePath>"
},
"name": "list_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the TSX/JSX file |