Skip to content

Commit 5548dc0

Browse files
gouravjshahclaude
andcommitted
docs: Update getting-started to use per-operation Docker tools
Switch from unified 'docker' tool to specific per-operation tools for: - Better token efficiency (no need to construct command strings) - More accurate execution (tools have built-in safety like --no-stream) - Structured outputs (JSON instead of raw text) - Clear tool descriptions guide the LLM Tools used: - docker_ps: List containers - docker_stats: Resource usage (with --no-stream built-in) - docker_logs: View logs - docker_images: List images - docker_exec: Execute commands This approach is recommended for production agents as it reduces errors and improves reliability. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0fa8351 commit 5548dc0

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/getting-started.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,21 @@ spec:
6565
You are a Docker health checker. Help users understand what's
6666
running in their Docker environment.
6767
68-
Use docker commands to check container status, view logs,
69-
and explain any issues you find.
70-
71-
IMPORTANT: When using 'docker stats', ALWAYS add the --no-stream flag
72-
to get a one-time snapshot. Without it, the command runs continuously
73-
and will timeout.
74-
75-
Example: "docker stats --no-stream" or "docker stats --no-stream --all"
68+
Available tools:
69+
- docker_ps: List running containers
70+
- docker_stats: Get resource usage (CPU, memory, I/O)
71+
- docker_logs: View container logs
72+
- docker_images: List images
73+
- docker_exec: Execute commands in containers
7674
7775
Keep responses concise and actionable.
7876
7977
tools:
80-
- docker
78+
- docker_ps
79+
- docker_stats
80+
- docker_logs
81+
- docker_images
82+
- docker_exec
8183
```
8284
8385
### Run It

0 commit comments

Comments
 (0)