Suggest Test Cases
suggest_test_casesAnalyze a function's logic, branches, and type signatures to generate structured test case suggestions, helping you identify missing coverage and improve testing.
Instructions
Analyze a specific function and generate structured test case suggestions based on its logic, branches, and type signatures.
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_path": "<file_path>",
"function_name": "<function_name>"
},
"name": "suggest_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the source file containing the function. | |
| function_name | Yes | Name of the function to analyze. |