moveDocumentParts
Relocate a document part within a Polarion document by specifying its new position relative to other parts. Use dry-run to preview the request before applying.
Instructions
Moves a Work Item Document Part. Effect: triggers a server-side action rather than a plain resource creation — whether repeating it is safe, a no-op, or rejected depends on the specific action; treat it as not guaranteed idempotent. Tip: set dry_run: true first to preview the exact request Polarion would receive, without changing anything. On tools with a typed output schema, this preview is returned as an error-flagged result since it is not real tool output -- read the text content regardless of that flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partId | Yes | The Document Part ID. | |
| dry_run | No | If true, validates the request and returns the exact request that would be sent to Polarion — with the Authorization header redacted and any binary payload summarized by byte length — without actually sending it. | |
| spaceId | Yes | The Document Space ID (a folder-like grouping of documents/pages within a project). Use `_default` (no quotes) to address the project's default space. | |
| projectId | Yes | The Polarion project ID (its URL segment, e.g. `myproject`), case-sensitive. Required to scope the request to one project; call getProjects to list valid IDs. | |
| requestBody | Yes | References for repositioning Work Item Document Part in the Document. | |
| documentName | Yes | The Document name. |