format_code
Automatically format code files by specifying the file path and programming language, ensuring consistent style and readability.
Instructions
Format code in a file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
language | No | Language of the code (e.g., javascript, python, rust) | |
path | Yes | Path to the file to format |
Input Schema (JSON Schema)
{
"properties": {
"language": {
"description": "Language of the code (e.g., javascript, python, rust)",
"type": "string"
},
"path": {
"description": "Path to the file to format",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}