callgraph
Build a call graph from specified root function addresses to analyze function dependencies and control flow.
Instructions
Build call graph starting from root functions
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": {
"roots": "<roots>",
"instance_id": "<instance_id>"
},
"name": "callgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roots | Yes | Root function addresses to start call graph traversal from | |
| max_depth | No | Maximum depth for call graph traversal | |
| max_nodes | No | Max nodes across the graph (default: 1000, max: 100000) | |
| max_edges | No | Max edges across the graph (default: 5000, max: 200000) | |
| max_edges_per_func | No | Max edges per function (default: 200, max: 5000) | |
| instance_id | Yes | Target IDA instance ID (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |