build_call_graph
Analyze code structure and data flow by building a function call graph. Specify the target path, programming language, and maximum depth.
Instructions
构建代码的函数调用关系图,用于分析代码结构和数据流。
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": {
"targetPath": "<targetPath>",
"language": "<language>"
},
"name": "build_call_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | 指定编程语言 | |
| maxDepth | No | 调用图的最大深度 | |
| targetPath | Yes | 要分析的代码路径 |