Commit 5548dc0
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
1 file changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments