Understand JavaScript
understand_codeAnalyze JavaScript code locally to get a summary of structure, function calls, complexity, globals, and security risks without needing a browser session.
Instructions
Parse supplied JavaScript locally and summarize structure, calls, complexity, globals, and optional security signals. No browser session is required.
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": "understand_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| focus | No | all |