append_comments
Append comments to addresses without overwriting existing annotations. Automatically deduplicates exact text to avoid redundant entries.
Instructions
Append comments at addresses, deduping exact text by default. Unlike set_comments (which overwrites), this preserves existing annotations — use it for incremental commentary. scope='auto' (default) writes a function comment when addr is a function start, otherwise a line comment; force with scope='func' or 'line'. dedupe=True skips writes when the exact stripped text already appears on its own line.
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": {
"items": "<items>",
"instance_id": "<instance_id>"
},
"name": "append_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| instance_id | Yes | Target IDA instance ID (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |