generate_test_plan
Fetch, parse, and extract a specification to generate a markdown test plan with business context per scenario, ready for mk-qa-master.
Instructions
One-shot: fetch + parse + extract for a spec, then emit a markdown test plan with a business_context block per scenario ready to hand to mk-qa-master.generate_test(business_context=...). The AI client typically reads this plan, loops the scenarios, and calls mk-qa-master once per scenario. Set target_runner to hint the desired output (pytest / jest / cypress / go / maestro). Returns {spec_id, target_runner, scenario_count, markdown, scenarios[]}.
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": {
"spec_id": "<spec_id>"
},
"name": "generate_test_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | ||
| target_runner | No | pytest |