ada_format_file
Formats Ada source files using GNATformat and configurable indentation options to keep code consistently styled and easier to read.
Instructions
Format an Ada source file using GNATformat
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_format_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Ada file | |
| tab_size | No | Tab width (default 3 for Ada) | |
| insert_spaces | No | Use spaces instead of tabs |