get_spaces
Retrieve all workspace spaces to organize and access ClickUp projects and tasks efficiently.
Instructions
Get all spaces in the workspace
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:37-39 (registration)Registration of the getSpacesTool in the tools array used by the MCP server.// Space tools getSpacesTool,
- src/services/space.service.ts:28-30 (helper)The core logic for fetching spaces from the ClickUp API using the SpaceService class method.async getSpaces() { return this.request<{ spaces: any[] }>(`/team/${this.workspaceId}/space`); }