Generate API test + edge cases
generate_testsGenerate comprehensive test plans covering happy-path, edge, negative, and security cases for all discovered API endpoints. Outputs tests.json without executing tests.
Instructions
Generates a test plan (happy-path, edge, negative, and security cases) for every discovered endpoint, based on its HTTP method and parameters. Writes tests.json. Does not execute anything.
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": "generate_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project root path. | |
| baseUrl | No | Base URL of the running server, e.g. http://localhost:3000. | |
| headers | No | Extra headers applied to every request. Supports ${ENV_VAR}. | |
| bearerToken | No | Bearer token for Authorization header. Supports ${ENV_VAR}. |