ida_comment
Document code directly in IDA Pro by adding comments to any address. Use regular, repeatable, anterior, or posterior comment kinds.
Instructions
Add a comment at an address. Kinds: regular, repeatable, anterior, posterior.
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>",
"text": "<text>"
},
"name": "ida_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Comment type (default: regular) | |
| text | Yes | Comment text | |
| address | Yes | Address to comment |