Skip to content

M5-4: Config File Detection

Description

Create get_container_config_files tool for intelligent config discovery.

Endpoint

POST /api/v1/tools/get_container_config_files

Parameters

  • container_name (string)
  • config_types (array): ["yaml", "json", "conf", "ini", "xml", "env"]
  • max_depth (number): Default 3, max 5
  • timeout_seconds (number): Default 10, max 60

Features

  • Auto-detect common configuration file types
  • Purpose detection (main config, env files, databases)
  • Sample content preview for readable files
  • Pattern detection: database connections, API keys, network settings

Estimated Effort

1 day