load_cpg
Loads a Code Property Graph (CPG) from a specified file path for security analysis and code review in the Joern MCP Server.
Instructions
Loads a CPG from a file if the cpg is not loaded or the cpg is not the same as the filepath.
Args:
cpg_filepath (str): The path to the CPG file, the filepath is absolute path.
Returns:
str: True if the CPG is loaded successfully, False otherwise.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpg_filepath | Yes |