Table of Contents



Introduction
What is the Task Tool?
How It Works
Available Agent Types
Background vs Foreground Execution
When to Use Which Agent
Practical Examples
Managing Background Tasks
Best Practices
Common Patterns
Troubleshooting








Introduction


The Task tool is Claude Code's most powerful feature for handling complex,...