delete_comment
Delete a comment permanently from GitBook by providing space ID and comment ID. This action cannot be undone.
Instructions
Delete a comment (DESTRUCTIVE: cannot be undone)
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": {
"spaceId": "<spaceId>",
"commentId": "<commentId>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | Yes | The ID of the space | |
| commentId | Yes | The ID of the comment to delete | |
| changeRequestId | No | Optional change request ID if comment is on a CR |