review_and_enhance_code
Analyze generated code to add improvements, documentation, validation, POM patterns, and reusable functions for better maintainability.
Instructions
Review generated code and enhance it with improvements, documentation, validation, POM patterns, and reusable functions
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": {
"file_paths": "<file_paths>"
},
"name": "review_and_enhance_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | Yes | Paths to the generated files to review | |
| review_criteria | No | Specific review criteria (docs, pom, functions, utils, format, existing_steps) | |
| repo_path | No | Repository path for checking existing functions and patterns |