r024: compact Docker inspect output

This commit is contained in:
Mikei386
2026-08-25 16:02:02 +02:00
parent 6876e495d6
commit 8977ced7cf
10 changed files with 84 additions and 31 deletions
+3 -1
View File
@@ -27,13 +27,15 @@ function mua_tools(): array {
],
[
'name' => 'unraid_docker_inspect',
'description' => 'Inspect a single Docker container in detail (state, image, ports, env, mounts).',
'description' => "Inspect one known Docker container directly. Default summary returns state, image, network mode and ports only; request detail='full' only when environment variables or mounts are required.",
'inputSchema' => [
'type' => 'object',
'properties' => [
'container' => ['type' => 'string', 'description' => 'Container name or ID'],
'detail' => ['type' => 'string', 'enum' => ['summary', 'full'], 'description' => "Use 'summary' by default. 'full' additionally returns redacted environment and mounts."],
],
'required' => ['container'],
'additionalProperties' => false,
],
],
[