godot_format_file
Formats GDScript files and previews changes without modifying them by default; set dry_run to false to apply edits.
Instructions
Format a GDScript file. Preview changes without modifying by default.
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": "godot_format_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path to format | |
| dry_run | No | Preview only (default: true) |