get_comments
Retrieve all comments at a specified address in IDA Pro, including regular, repeatable, anterior, posterior, and function comments for comprehensive reverse engineering analysis.
Instructions
Get all comments at the specified address including regular, repeatable, anterior, and posterior comments. If the address is within a function, also returns the function comment.
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": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to get comments from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| regular | Yes | ||
| anterior | Yes | ||
| posterior | Yes | ||
| repeatable | Yes | ||
| function_comment | Yes |