release: r015 compact filtered Docker inventory
This commit is contained in:
+10
-2
@@ -14,8 +14,16 @@ function mua_tools(): array {
|
||||
// ── Docker (14) ──────────────────────────────────────────────────
|
||||
[
|
||||
'name' => 'unraid_docker_list',
|
||||
'description' => 'List all Docker containers with runtime stats (CPU, memory, network I/O). Returns a compact JSON summary.',
|
||||
'inputSchema' => ['type' => 'object', 'properties' => new stdClass(), 'additionalProperties' => false],
|
||||
'description' => "List Docker containers with authoritative server-side counts. For active containers always use state='running'. Stats are optional to keep output compact.",
|
||||
'inputSchema' => [
|
||||
'type' => 'object',
|
||||
'properties' => [
|
||||
'state' => ['type' => 'string', 'enum' => ['all', 'running', 'stopped', 'created', 'exited'], 'description' => "Use 'running' for active containers. Default: all."],
|
||||
'include_stats' => ['type' => 'boolean', 'description' => 'Include live CPU, RAM and I/O statistics. Default: false.'],
|
||||
'detail' => ['type' => 'string', 'enum' => ['compact', 'full'], 'description' => 'compact returns name/status/state; full also returns ID/image/ports.'],
|
||||
],
|
||||
'additionalProperties' => false,
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'unraid_docker_inspect',
|
||||
|
||||
Reference in New Issue
Block a user