Polarion MCP DocsPortal

polarion_get_document_outline

Gets the table of contents / outline structure of a Polarion document. Returns outline entries with numbers, titles, types, and IDs.

When to use

To understand the structure of a document before reading specific sections. The outline provides headings and work item references, giving you a map of the document content before drilling into individual sections.

Parameters

ParameterTypeRequiredDescription
project_idstringYesThe Polarion project ID
space_idstringYesThe space ID
document_namestringYesThe document name

Example response

{
  "status": "success",
  "data": [
    { "outline_number": "1", "title": "Introduction", "type": "heading", "id": "HI-001" },
    { "outline_number": "1.1", "title": "Purpose", "type": "requirement", "id": "REQ-001" },
    { "outline_number": "1.2", "title": "Scope", "type": "requirement", "id": "REQ-002" },
    { "outline_number": "2", "title": "System Overview", "type": "heading", "id": "HI-002" }
  ]
}

Related tools