List Folders
list_foldersList the folder structure of an API specification. Each folder has a parentFolderId for hierarchical nesting. Pass folderId to get just that one, with its rowVersion for update_folder. Requires project context (call set_context first).
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": {
"specId": "<specId>"
},
"name": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Public ID (GUID) of the API specification | |
| folderId | No | Optional public ID (GUID) of a single folder to return | |
| versionId | No | Optional version ID (GUID) to filter folders by a specific version |