read_document_parts
Retrieve structured parts of a document in order, including headings and work items with descriptions as Markdown, to support navigation and reorganization.
Instructions
List the structural parts of a document in order.
Use this when you need part IDs for move_work_item_to_document,
heading levels, or per-work-item type/status. Each workitem part
already carries its description as Markdown, so a follow-up
get_work_item is unnecessary when scanning bodies. For plain
reading prefer read_document.
If you only need work items filtered by type/status/title/custom-field
or a subset of the document (e.g. "non-heading work items only"),
prefer list_work_items with a SQL:(...) query — see that
tool's docstring for a recipe gallery. Smaller payload than this
tool, no per-part pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Polarion project ID. | |
| space_id | Yes | Space ID containing the document. | |
| document_name | Yes | Document name within the space. | |
| page_size | No | Number of parts per page (1-100, default 100). | |
| page_number | No | Page number to retrieve (1-based, default 1). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total_count | Yes | ||
| page | Yes | ||
| page_size | Yes | ||
| has_more | No | True if more pages follow. |