analyze_structureReturns structural summary (AST) of code.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"code": {
"type": "string",
"maxLength": 52428800
},
"filePath": {
"type": "string"
},
"limit": {
"default": 50,
"type": "number"
}
}
} | — | | — |
deobfuscateUnpacks/deobfuscates minified code & caches result.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"code": {
"type": "string",
"maxLength": 52428800
},
"filePath": {
"type": "string"
},
"unbundle": {
"default": true,
"type": "boolean"
},
"returnCode": {
"default": false,
"type": "boolean"
},
"mangle": {
"default": false,
"type": "boolean"
},
"jsx": {
"default": true,
"type": "boolean"
},
"skipVendor": {
"default": false,
"type": "boolean"
}
}
} | — | | — |
format_codeFormats code with Prettier.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"code": {
"type": "string",
"maxLength": 52428800
},
"filePath": {
"type": "string"
},
"parser": {
"default": "babel",
"type": "string",
"enum": [
"babel",
"html",
"css"
]
}
}
} | — | | — |
get_call_graphGenerates a call graph for a specific function.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"symbolName": {
"type": "string"
},
"moduleId": {
"type": "string"
},
"scanAllModules": {
"default": false,
"type": "boolean"
}
},
"required": [
"symbolName",
"moduleId"
]
} | — | | — |
get_helpGet detailed usage info and examples for a specific tool.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"tool_name": {
"type": "string",
"enum": [
"deobfuscate",
"list_modules",
"get_module",
"search_modules",
"analyze_structure",
"format_code",
"get_help",
"get_symbol_source",
"list_functions",
"get_call_graph"
]
}
},
"required": [
"tool_name"
]
} | — | | — |
get_moduleGets code for specific module ID from cache.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
} | — | | — |
get_symbol_sourceExtracts specific function/class source code.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"symbolName": {
"type": "string"
},
"code": {
"type": "string"
},
"filePath": {
"type": "string"
},
"moduleId": {
"type": "string"
}
},
"required": [
"symbolName"
]
} | — | | — |
list_functionsScans cached modules to list defined functions and classes.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"moduleId": {
"type": "string"
},
"limit": {
"default": 50,
"type": "number"
}
}
} | — | | — |
list_modulesLists modules from cached bundle.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"excludeVendor": {
"default": false,
"type": "boolean"
}
}
} | — | | — |
search_modulesSearches text/regex in cached modules.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"query": {
"type": "string"
},
"isRegex": {
"default": false,
"type": "boolean"
},
"limit": {
"default": 50,
"type": "number"
}
},
"required": [
"query"
]
} | — | | — |