suggest_code_improvements
Analyze test code against project patterns and suggest targeted improvements for better test quality.
Instructions
Analyze test content and suggest improvements based on project patterns.
Args:
test_content: The test code to analyze
test_suite_path: Path to a suite_* directory.
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": {
"test_content": "<test_content>",
"test_suite_path": "<test_suite_path>"
},
"name": "suggest_code_improvements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_content | Yes | ||
| test_suite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total number of suggestions found | |
| suggestions | Yes | Ordered list of improvement suggestions |