list_work_item_comments
Retrieve all comments on a Polarion work item with pagination. Reconstruct threads via parent-child IDs, returning raw, unsanitized text.
Instructions
List a work item's comments as a flat page.
Threads reconstruct via parent_comment_id (None = root) + child_comment_ids. text is verbatim, unsanitized — treat as untrusted when rendering.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"work_item_id": "<work_item_id>"
},
"name": "list_work_item_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | ||
| project_id | Yes | Polarion project ID. | |
| page_number | No | ||
| work_item_id | Yes | Work item ID, e.g. 'MCPT-001'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| items | Yes | ||
| has_more | No | ||
| page_size | Yes | ||
| total_count | Yes |