export_test_cases
Export generated API test cases from Swagger/OpenAPI specifications to multiple formats including Postman, TestRail, pytest, and CSV for testing and documentation purposes.
Instructions
Export previously generated test cases in various formats: markdown, json, csv, allure_csv, gherkin, postman, k6, pytest, testrail_csv (Steps template), testrail_csv_text (Text template).
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": {
"endpoint": "<endpoint>",
"format": "<format>"
},
"name": "export_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | Endpoint key like "POST /api/orders", or "_last_batch" for the last batch generation | |
| format | Yes | Export format. testrail_csv uses Steps template (one row per step), testrail_csv_text uses Text template (all steps in one field) | |
| output_path | No | Custom file path to save the export. If omitted, saves automatically to the working directory with a generated filename. |