get_call_graph
Map out function dependencies in a codebase by generating a call graph showing callers and callees up to a specified depth, returned as a Mermaid diagram.
Instructions
Fonksiyon çağrı grafını döndürür.
Args: path: Proje kök dizini function_name: Hedef fonksiyon adı direction: "callers" (çağıranlar), "callees" (çağrılanlar) veya "both" depth: Maksimum derinlik
Returns: Çağrı grafı — Mermaid diyagramı ve detaylar
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": {
"path": "<path>",
"function_name": "<function_name>"
},
"name": "get_call_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| function_name | Yes | ||
| direction | No | both | |
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |