get_folder
Retrieve a test folder or suite by ID to view its metadata, including case counts, child folders, and optional statistics and recent cases.
Instructions
Get one folder or suite by id. Returns id, name, type, parentId, projectId, projectName, path, depth, casesCount, childFolderCount, displayOrder, createdAt and updatedAt. casesCount counts cases DIRECTLY in this folder, so a container folder reports 0 however much sits beneath it; childFolderCount tells you whether that is the case. Set includeStats for a statistics object over the folder AND everything nested under it, which is where totalCases, automatedCases, automationRate, status and priority breakdowns, tag usage and time-based metrics live: expect statistics.totalCases to exceed casesCount. Cases whose status or priority is null are left out of those two breakdowns, so statusCounts and priorityCounts need not sum to totalCases, and the shortfall is the count of unset ones rather than an error. Set includeCases for the most recent cases directly in it, capped by casesLimit; they come back under recentCases, not cases. Every count here is of LIVE rows: archived cases and archived subfolders are excluded from casesCount, childFolderCount and the whole statistics object, so a suite reporting 45 can still answer with several times that through list_test_cases with includeDeleted. Use list_folders to see the tree or find an id; use this when you have one id and want detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderId | Yes | Folder UUID to get. Obtain from list_folders. | |
| casesLimit | No | Maximum number of cases to include (when includeCases=true) | |
| includeCases | No | Include list of recent test cases in folder | |
| includeStats | No | Include detailed statistics (automation rate, status/priority breakdown) |