delete_comment
Remove comments from specified addresses in IDA Pro during reverse engineering. Supports deletion of regular, repeatable, anterior, posterior, or function comments to maintain clean analysis.
Instructions
Delete a comment at the specified address. For anterior/posterior, deletes all lines.
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": {
"address": "<address>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to delete comment from | |
| comment_type | No | Type of comment to delete: 'regular', 'repeatable', 'anterior', 'posterior', or 'function' | regular |