code_beautify
Beautify source code by applying proper indentation and formatting. Supports multiple programming languages through a language parameter.
Instructions
Beautify/format source code with proper indentation.
Parameters:
code — Source code to beautify.
language — Programming language (default: 'javascript').
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": {
"code": "<code>"
},
"name": "code_beautify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| language | No | javascript |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |