ada_get_spec
Find the Ada specification (.ads) matching a given body file (.adb), with optional line and column for precise lookup.
Instructions
Navigate from body to spec file, or find corresponding spec
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>"
},
"name": "ada_get_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Ada file (usually .adb) | |
| line | No | Optional 1-based line number for precise lookup | |
| column | No | Optional 1-based column number for precise lookup |