Package burp.mcp.tool

Class DecoderEncodeTool

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

public class DecoderEncodeTool extends Object implements Tool
Encode data to base64, url, or hex encoding.
  • Constructor Details

    • DecoderEncodeTool

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