set_disassembly_comment
Set or clear the end-of-line comment at a disassembly address, letting you annotate instructions and document reverse-engineering findings in Ghidra.
Instructions
Set the end-of-line comment at an address (shown in the disassembly). An empty comment clears it.
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>",
"comment": "<comment>"
},
"name": "set_disassembly_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| comment | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||