add_test_cases_bulk
Add multiple test cases to TestRail at once using a section ID or hierarchy path (auto-creates missing sections). Returns the IDs of the created cases.
Instructions
Push a batch of test cases to TestRail in one call. Returns the IDs created.
cases items are in the shape returned by prepare_cases_* — each has
{title, preconditions, steps:[{step, expected}]}. The server maps that into
TestRail's payload format (custom_steps_separated etc.).
Targeting: either section_id directly, or section_hierarchy like
'Auth > Login > Smoke' — missing nodes are created.
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": {
"cases": "<cases>"
},
"name": "add_test_cases_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | Yes | ||
| suite_id | No | ||
| project_id | No | ||
| section_id | No | ||
| section_hierarchy | No |