Read LiveDoc section
read_document_sectionReads a single Polarion LiveDoc section by part ID or exact heading path at a chosen revision. Returns the section ID, heading path, Markdown, and truncation status.
Instructions
Reads one LiveDoc section at the requested revision and returns {partId, headingPath, markdown, truncated}. Requires a project ID, space ID, and document name readable by the signed-in Polarion user; select the section with its part ID or exact heading path. Use read_document_markdown for the full body or get_document_outline to discover headings and IDs first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part_id | No | Exact LiveDoc part ID from `get_document_outline`; identifies the section heading. | |
| 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. | |
| max_chars | No | Maximum returned Markdown characters; defaults to 20000 and is capped at 100000. | |
| projectId | Yes | Polarion project ID that owns the LiveDoc, such as `PROJECT`. | |
| heading_path | No | Exact heading path as an array of titles or a string joined with ` > `; use the outline to copy it. |