edit_comment
Update an existing file comment by providing the file ID, comment ID, and new text; only the original author can edit their comment.
Instructions
Edit a comment on a file.
Only the comment author can edit their own comment.
Args: file_id: The numeric file ID. comment_id: The comment ID to edit. message: The new comment text (max 1000 characters).
Returns: Confirmation message.
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": {
"file_id": "<file_id>",
"comment_id": "<comment_id>",
"message": "<message>"
},
"name": "edit_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| message | Yes | ||
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |