define_function
Define a new function starting at a specific address. Optionally specify an end address, or let IDA auto-detect the function boundary.
Instructions
Create a new function at a given address range. If end_address is empty, IDA will auto-detect the function boundary.
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": "define_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_address | No | ||
| start_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |