analyze_function
Identify function boundaries, size, callers and callees, and determine if it is a leaf function by providing any address or symbol within it.
Instructions
Analyse the function that contains the given address. Returns boundaries, size, call graph (callers + callees), and whether the function is a leaf.
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": {
"sessionId": "<sessionId>",
"address": "<address>"
},
"name": "analyze_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| address | Yes | Any address inside the function, or its symbol name |