update_comment
Change the content of a comment in a Penpot design by providing its ID and new text. Supports optional mentions and share ID for precise targeting.
Instructions
Update a comment content
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": {
"commentId": "<commentId>",
"content": "<content>"
},
"name": "update_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | New comment content | |
| shareId | No | Share ID (optional) | |
| mentions | No | User IDs to mention (optional) | |
| commentId | Yes | Comment ID |