What Can Cline Do?
- Edit and create files in your project
- Run terminal commands
- Search and analyze your code
- Help debug and fix issues
- Automate repetitive tasks
- Integrate with external tools via MCP
File Operations
| Tool | Description |
|---|---|
write_to_file | Create or overwrite files |
read_file | Read file contents |
replace_in_file | Make targeted edits to files |
search_files | Search files using regex |
list_files | List directory contents |
list_code_definition_names | List code definitions in files |
Examples
Create a new file:Terminal Operations
| Tool | Description |
|---|---|
execute_command | Run CLI commands |
Browser Operations
| Tool | Description |
|---|---|
browser_action | Interact with websites through Puppeteer |
MCP Tools
| Tool | Description |
|---|---|
use_mcp_tool | Use tools from MCP servers |
access_mcp_resource | Access MCP server resources |
Interaction Tools
| Tool | Description |
|---|---|
ask_followup_question | Ask user for clarification |
attempt_completion | Present final results |
New Task Tool
Thenew_task tool enables context management and task continuity. It packages current progress and context into a fresh task with a clean context window.
When to Use
- Context window filling up but work isn’t done
- Completing a logical subtask before starting the next
- After research phase, ready to implement
How It Works
- Cline proposes creating a new task with summarized context
- You can refine the proposed context
- Once approved, current task ends and new one begins with the context preloaded
Using the /newtask Command
Type/newtask in chat to manually trigger this process. Cline will:
- Analyze the conversation
- Propose distilled context to carry forward
- Let you refine before creating the new task

