Package burp.mcp.tool
Class ProjectCreateTool
java.lang.Object
burp.mcp.tool.ProjectCreateTool
- All Implemented Interfaces:
Tool
How to create a new Burp project via the Burp executable.
The Montoya API exposes the current project read-only (name()/id()),
so a new project cannot be created from inside Burp. The supported path is launching
the Burp executable with --project-file, which creates the file as a new
project when it does not exist yet (verified against BurpSuite --help).
This tool performs no side effects — it returns the exact command to run yourself outside Burp, plus useful flags and caveats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the tool's metadata (name, description, input schema).Execute the tool with the given arguments.com.fasterxml.jackson.databind.node.ObjectNodeThe JSON schema for the tool's input parameters.
-
Constructor Details
-
ProjectCreateTool
public ProjectCreateTool(burp.api.montoya.MontoyaApi api)
-
-
Method Details
-
definition
Description copied from interface:ToolReturns the tool's metadata (name, description, input schema).- Specified by:
definitionin interfaceTool
-
inputSchema
public com.fasterxml.jackson.databind.node.ObjectNode inputSchema()Description copied from interface:ToolThe JSON schema for the tool's input parameters.- Specified by:
inputSchemain interfaceTool
-
execute
Description copied from interface:ToolExecute the tool with the given arguments.
-