disassemble_function
Extract assembly code from a function in IDA Pro to analyze binary structure and understand program behavior during reverse engineering.
Instructions
Get assembly code for a function (API-compatible with older IDA builds)
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": {
"start_address": "<start_address>"
},
"name": "disassemble_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_address | Yes | Address of the function to disassemble |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| lines | Yes | ||
| start_ea | Yes | ||
| arguments | No | ||
| return_type | No | ||
| stack_frame | Yes |