List folders
list_foldersList folders (sub-spaces) in a space, as structured JSON (id, name). The first entry is the "Home" folder (the space itself), followed by its sub-spaces. Get the spaceId from list_spaces. This is the structured counterpart to browsing folders via inspect_space.
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": {
"spaceId": "<spaceId>"
},
"name": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor (offset as string). Omit for first page. | |
| first | No | Number of folders to return | |
| spaceId | Yes | Space ID from `list_spaces` |