delete_comment
Delete a comment from a file by providing file ID and comment ID. Only the comment author can delete their own comment; action is irreversible.
Instructions
Delete a comment from a file.
Only the comment author can delete their own comment. This action is irreversible.
Args: file_id: The numeric file ID. comment_id: The comment ID to delete.
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>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |