The think tool is a reasoning scratchpad that lets agents think step-by-step before acting. The agent can write out its reasoning without producing visible output to the user — ideal for planning complex tasks, breaking down problems, and reasoning through multi-step solutions. This tool has no side effects and produces no output visible to the user. It only improves the quality of the agent’s reasoning.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/docker/docker-agent/llms.txt
Use this file to discover all available pages before exploring further.
Configuration
Example agent
agent.yaml
When to use it
The think tool is most valuable when the agent needs to:- Plan a multi-step task before executing it
- Reason through competing options before choosing one
- Decompose a complex problem into smaller steps
- Verify its own reasoning before committing to an action
shell or filesystem), where planning ahead reduces the chance of mistakes.
Related
Todo
Track task progress across multi-step work.
Background agents
Dispatch parallel work to sub-agents.
Shell
Execute commands after planning.
Filesystem
Read and write files after planning.