generate_test_cases
Generate a set of test cases (valid, edge, invalid, pairwise) for a given feature description. Declared constraints drive the boundaries: a length or numeric bound ("[8-64]", "min 8 chars", "at least 8 characters" — read from inputs, and from the feature prose when a sentence names exactly one field) yields the last accepted value AND the first rejected one; a format (email/url/uuid, from the type, the field name or the wording) yields malformed-value cases. A bound nobody declared is labelled as this tool's assumption, not as expected behaviour. gherkinFormat renders every case (cap 200, stated in the output) and gherkinScenarioCount lets you check it against totalCases. With your own model (api_key + model, BYOK; the text goes to that provider): ticket → a test suite from a ticket's text (Gherkin, E2E steps, API tests, test data, ambiguities to clarify; a thin ticket gets questions, not invented cases); gherkin + warnings → repairs Gherkin scenarios with syntax errors (missing Given/When/Then…), fixing only the flagged issues.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": "email: string\npassword: string, min 8 chars",
"feature": "Signup form"
},
"name": "generate_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | e.g. "gpt-4o-mini", "claude-haiku-4-5-20251001", "openai/gpt-oss-20b". | |
| inputs | No | Optional: list of input parameters (one per line, e.g. "email: string [required]", "password: string [required, min 8 chars]", "age: number [18-99]") | |
| ticket | No | {key, summary, description, …}: the ticket's text. | |
| api_key | No | Your provider key, used for this call only. | |
| feature | No | Feature or function to test: inputs, expected behaviour, context. A constraint stated here ("password must be at least 8 characters") applies when its sentence names exactly one field. | |
| gherkin | No | Gherkin to fix. | |
| warnings | No | With gherkin: the warnings to fix. | |
| max_tokens | No | ||
| confluence_pages | No | With ticket: documentation pages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature | No | ||
| test_cases | No | ||
| parsedInputs | No | ||
| gherkinFormat | No | ||
| gherkinScenarioCount | No |