discover_configs
Scan for service configs (nginx, mysql, redis, docker, sshd) or project configs (.env, .npmrc, *.json) in a directory, returning paths, sizes, and modified times.
Instructions
Scan the system for known service configuration files (nginx, mysql, redis, docker, sshd, etc.), or scan a specific directory for project-level config files (like .env, .npmrc, *.json). Returns a list of detected config files with their paths, sizes, and last modified times.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discover_configs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | Optional. Filter by service name (e.g. 'nginx', 'mysql', 'redis', 'docker', 'sshd'). | |
| directory | No | Optional. Provide an absolute path to a directory (e.g. a project folder) to scan for local configs. |