callgraph
Build bounded function invocation graphs from root addresses or symbols using depth, node, and edge limits for binary analysis.
Instructions
Build bounded callgraph from roots with depth/node/edge limits.
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 | 起始函数地址或名称。从该函数开始遍历调用图。支持 hex、符号名。 | |
| max_depth | No | Maximum depth for call graph traversal | |
| max_edges | No | Max edges across the graph (default: 5000, max: 200000) | |
| max_nodes | No | Max nodes across the graph (default: 1000, max: 100000) | |
| instance_id | Yes | 必须提供的 instance_id(或 client_id),用于将请求精确路由到特定的 IDA 实例。请先调用 instance_list 查看并选择合适的客户端 ID。 | |
| max_edges_per_func | No | Max edges per function (default: 200, max: 5000) |