get_or_create_section
Resolve a section hierarchy like 'Auth > Login' by creating any missing parent sections, returning the section ID and path.
Instructions
Resolve a section hierarchy like Auth > Login > Edge Cases,
creating missing parents as needed. Returns {"section_id": int, "path": str}.
Defaults to TESTRAIL_PROJECT_ID / TESTRAIL_SUITE_ID from env when not provided.
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": {
"hierarchy": "<hierarchy>"
},
"name": "get_or_create_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suite_id | No | ||
| hierarchy | Yes | ||
| project_id | No |