analyze_component
Analyze React Native component code for best practice compliance, identifying violations and suggesting fixes.
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 |