turingmind_get_related_code
Find callers, callees, and imports for any code entity to analyze impact. Uses relationship graph to trace dependencies within a repository.
Instructions
Get code entities related to a specific function/class/file. Uses relationship graph to find callers, callees, and imports for impact analysis.
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": {
"repo": "<repo>",
"file": "<file>"
},
"name": "turingmind_get_related_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path | |
| repo | Yes | Repository (owner/repo) | |
| direction | No | Relationship direction | both |
| entity_name | No | Function/class name (optional) | |
| relationship_types | No | Types: calls, imports (default: both) |