op_add_comment
Add a comment or internal note to an OpenProject work package using its ID and comment text. Optionally mark as internal to restrict visibility.
Instructions
Добавить комментарий (заметку) к задаче.
Args: work_package_id: Идентификатор задачи. comment: Текст комментария. internal: True для внутреннего комментария (требует права add_internal_comments).
Returns: JSON с созданной активностью (id, текст, автор, дата).
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": {
"work_package_id": "<work_package_id>",
"comment": "<comment>"
},
"name": "op_add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | ||
| internal | No | ||
| work_package_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |