update_document_comment
Resolve or re-open a document comment thread by updating its resolved state. Specify the root comment ID to manage the entire thread's status.
Instructions
Resolve or re-open one document comment thread.
Root comments only — replies cannot be updated; pick a root id (parent_comment_id=None) from list_document_comments. Resolving the root resolves the whole thread. Idempotent.
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>",
"space_id": "<space_id>",
"document_name": "<document_name>",
"comment_id": "<comment_id>",
"resolved": "<resolved>"
},
"name": "update_document_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview payload without calling Polarion. | |
| resolved | Yes | New resolved state. | |
| space_id | Yes | Space ID ('_default' = default space). | |
| comment_id | Yes | Short comment ID (e.g. 'c42' from list_document_comments). | |
| project_id | Yes | Polarion project ID. | |
| document_name | Yes | Document name within space_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | Yes | ||
| updated | Yes | ||
| resolved | Yes | ||
| comment_id | Yes | ||
| payload_preview | Yes |