js.beautify
Format JavaScript code for readability and analysis during security testing, helping identify vulnerabilities by standardizing code structure.
Instructions
Beautify and format JavaScript source code
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": {
"source": "<source>"
},
"name": "js.beautify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | JavaScript source code | |
| indentSize | No | Indentation size |