web-tools.mdx 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ---
  2. title: "Web Tools"
  3. sidebarTitle: "Web Tools"
  4. description: "Search the web and fetch content from URLs directly within Cline"
  5. ---
  6. Web Tools give Cline the ability to search the internet and fetch content from specific URLs during your tasks. This is useful when you need up-to-date information, documentation lookups, or research that goes beyond your local codebase and the LLM's internal knowledge.
  7. <Warning>
  8. Web Tools require the **Cline provider**. They are not available when using other providers like OpenRouter, Anthropic, AWS Bedrock, etc.
  9. </Warning>
  10. ## How Web Tools Work
  11. Cline has two web tools:
  12. - **web_search**: Searches the web and returns a list of relevant webpages based on your query
  13. - **web_fetch**: Fetches and analyzes content from a specific URL
  14. When Cline determines that web information would help complete your task, it will use these tools automatically. The tools call Cline's backend API, which handles the search or fetch operation and returns the results.
  15. ## Enabling Web Tools
  16. Web Tools are available when using the Cline provider. To use them:
  17. 1. Make sure you're signed in to Cline
  18. 2. Ensure you're using the Cline provider
  19. 3. Enable the Web Tools toggle in the Feature Settings menu
  20. <Note>
  21. Web tools can be auto-approved using the "Use the browser" setting in [Auto Approve](/features/auto-approve).
  22. </Note>
  23. ## Use Cases
  24. ### Looking Up Documentation
  25. When working with unfamiliar libraries or APIs:
  26. - Search for official documentation
  27. - Fetch specific API reference pages
  28. - Get examples and usage patterns
  29. ### Research Before Implementation
  30. Before implementing a feature:
  31. - Search for best practices and common patterns
  32. - Find recent discussions about approaches
  33. - Look up known issues or limitations
  34. ### Checking Latest Information
  35. For time-sensitive information:
  36. - Latest release notes and changelogs
  37. - Recent bug fixes or security updates
  38. - Current recommended versions