Polarion MCP DocsPortal

polarion_list_spaces

Lists all document spaces in a Polarion project. Spaces are containers for documents.

When to use

Before listing documents to discover what spaces exist. Spaces represent organizational containers (e.g. "_default", "Requirements", "Design").

Parameters

ParameterTypeRequiredDescription
project_idstringYesThe Polarion project ID
page_sizeintegerNoResults per page
page_numberintegerNoPage number

Example response

{
  "status": "success",
  "project_id": "MyProject",
  "data": [
    { "id": "_default", "name": "Default Space" },
    { "id": "Requirements", "name": "Requirements" },
    { "id": "Design", "name": "Design" }
  ],
  "meta": { "total": 3, "page_size": 100, "page_number": 1 }
}
Note: The Polarion REST API does not have a native /spaces endpoint. This tool derives spaces from the moduleFolder attribute on documents.

Related tools