analyze_component
Analyzes React Native components to enforce best practices, improve code quality, and identify issues in functional, class, or hook components.
Instructions
Analyze React Native component for best practices
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | React Native component code to analyze. If not provided, analyzes entire codebase | |
| type | No | Component type | |
| codebase_path | No | Path to React Native project root for codebase analysis |