pub fn compress_tool_output(
output: &Value,
tool_name: &str,
config: &CompressionConfig,
) -> StringExpand description
Main compression function - compresses tool output and stores full data for retrieval
§Arguments
output- The raw JSON output from a tooltool_name- Name of the tool (e.g., “kubelint”, “k8s_optimize”)config- Compression configuration
§Returns
JSON string of compressed output, or original if compression not applicable