Package burp.mcp.tool

Class HttpBuildRequestTool

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

public class HttpBuildRequestTool extends Object implements Tool
Build an HTTP request from individual components (method, URL, headers, body). Stores the result in the request cache and returns the raw request and ID.
  • Constructor Details

    • HttpBuildRequestTool

      public HttpBuildRequestTool(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)