extract_scenarios
Classify acceptance criteria into happy, edge, or error scenarios and structure them as Given/When/Then steps for test generation.
Instructions
Turn parsed acceptance criteria into testable scenarios. Each scenario is classified as happy / edge / error via keyword heuristics, and split into Given / When / Then where possible. Pass the acceptance_criteria array returned by parse_spec. Returns {count, scenarios[]} where each scenario has {id, ac_id, title, kind, given, when, then}. Best paired with generate_test_plan for a markdown handoff to mk-qa-master.
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": {
"acceptance_criteria": "<acceptance_criteria>"
},
"name": "extract_scenarios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acceptance_criteria | Yes |