review_file
Analyze React/TypeScript files to detect performance issues such as unnecessary re-renders, memoization errors, and bundle size problems by reading the file from disk.
Instructions
Analyze a React/TypeScript file for performance issues by reading it from disk
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": {
"path": "<path>"
},
"name": "review_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the React component file |