polish_format_file
Formats a safely detected source file using an installed deterministic formatter, with atomic writes and a dry-run preview option.
Instructions
Format one safely detected source file with an installed deterministic formatter. Writes atomically; dryRun returns a preview.
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": {
"path": "<path>"
},
"name": "polish_format_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| backup | No | ||
| dryRun | No |