codeql_format
Formats CodeQL files to standard conventions, optionally applying changes to selected line ranges.
Instructions
Formats a CodeQL file according to standard conventions.
Args: file_uri: URI of the CodeQL file start_line: Start line for range formatting (optional) start_character: Start character for range formatting (optional) end_line: End line for range formatting (optional) end_character: End character for range formatting (optional)
Returns: Dictionary with text edits and metadata
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_uri": "<file_uri>"
},
"name": "codeql_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | No | ||
| file_uri | Yes | ||
| start_line | No | ||
| end_character | No | ||
| start_character | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||