api_generate_tests
Generate comprehensive API test suites from OpenAPI specs, route definitions, or endpoint patterns. Choose a framework and get ready-to-run tests that validate your API.
Instructions
Generate comprehensive API test suite from OpenAPI spec, route definitions, or endpoint patterns
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": {
"source": "<source>"
},
"name": "api_generate_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Path to OpenAPI spec file, routes file, or directory to scan | |
| api_key | No | ||
| framework | No | Test framework to generate for | vitest |