Get ClickUp Folders
clickup_get_foldersRetrieves all folders in a specified ClickUp space, optionally including archived folders, and returns them in markdown or JSON for browsing space structure.
Instructions
Get all folders in a space.
Folders are optional groupings within spaces (Team → Space → Folder → List → Task). This tool retrieves all folders in a specific space.
Args:
space_id (string): The space ID
archived (boolean): Include archived folders (default: false)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON format: { "folders": [ { "id": "string", "name": "string", "hidden": boolean, "task_count": "string", "lists": [...] } ] }
Examples:
Use when: "Show me folders in space 123456"
Use when: "List all folders in this space"
Error Handling:
Returns "Error: Resource not found" if space_id is invalid (404)
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": {
"space_id": "<space_id>"
},
"name": "clickup_get_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | No | Include archived folders | |
| space_id | Yes | Space ID | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |