as_format_code
Reformat files in a directory using Android Studio's IDE formatter, with automatic backup creation before applying changes.
Instructions
Reformat files in place using the IDE's formatter (studio64.exe format).
Backups of every affected file are written to the server backup dir before formatting. Requires confirm=true.
Args: params (FormatInput): target, mask, recursive, confirm.
Returns: str: JSON with the formatter output and the list of backups created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |