Package burp.mcp.tool

Class BurpInfoTool

java.lang.Object
burp.mcp.tool.BurpInfoTool
All Implemented Interfaces:
Tool

public class BurpInfoTool extends Object implements Tool
Returns Burp Suite version, edition, and connected MCP server info.
  • Constructor Details

    • BurpInfoTool

      public BurpInfoTool(burp.api.montoya.MontoyaApi api)
  • Method Details

    • definition

      public ToolDefinition definition()
      Description copied from interface: Tool
      Returns the tool's metadata (name, description, input schema).
      Specified by:
      definition in interface Tool
    • inputSchema

      public com.fasterxml.jackson.databind.node.ObjectNode inputSchema()
      Description copied from interface: Tool
      The JSON schema for the tool's input parameters.
      Specified by:
      inputSchema in interface Tool
    • execute

      public Object execute(Map<String,Object> args)
      Description copied from interface: Tool
      Execute the tool with the given arguments.
      Specified by:
      execute in interface Tool
      Parameters:
      args - The tool arguments as a Map
      Returns:
      The tool result as a Map (will be serialized to JSON)