Get LiveDoc outline
get_document_outlineReads a LiveDoc at a chosen revision and returns its heading outline—part IDs, titles, levels, and paths—without body text so you can locate sections before reading content.
Instructions
Reads a LiveDoc at the requested revision and returns {outline} with each heading’s part ID, title, level, and nested heading path, without rendering body text. Use this to locate a section; call read_document_section for its content or read_document_markdown for the full document. Requires a project ID, space ID, and document name readable by the signed-in Polarion user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | Yes | Document space ID within the project, such as `Specifications`. | |
| document | Yes | LiveDoc name within the space, not a composite project/space/document path. | |
| revision | No | Repository revision to read; omit to use the current revision. | |
| projectId | Yes | Polarion project ID that owns the LiveDoc, such as `PROJECT`. |