ada_call_hierarchy
Retrieves incoming and outgoing call hierarchy for an Ada symbol at a given file position. Use it to trace callers and callees for code navigation and impact analysis.
Instructions
Get call hierarchy (incoming/outgoing calls) for an Ada symbol
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": {
"file": "<file>",
"line": "<line>",
"column": "<column>"
},
"name": "ada_call_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Ada file | |
| line | Yes | 1-based line number | |
| column | Yes | 1-based column number | |
| direction | No | Call direction: 'outgoing', 'incoming', or 'both' | outgoing |