set_function_comment
Set a comment for a function in IDA Pro, placing it above or below the function header to capture analysis notes directly in the disassembly.
Instructions
Set a function-level comment. These appear above (anterior) or below (posterior) the function header.
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": {
"identifier": "<identifier>",
"comment": "<comment>"
},
"name": "set_function_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | ||
| identifier | Yes | ||
| is_repeatable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |