name: web-search description: Web search using Jina Search API. Returns search results with titles, URLs, and descriptions. Use for finding documentation, facts, current information, or any web content. Lightweight, no browser required.
Web Search
Perform web searches using the Jina Search API. Returns formatted search results with titles, URLs, and descriptions.
Setup
Optionally get a Jina API key for higher rate limits:
- Create an account at https://jina.ai/
- Get your API key from the dashboard
- Add to your shell profile (
~/.profileor~/.zprofilefor zsh):export JINA_API_KEY="your-api-key-here"
Without an API key, the service works with rate limits.
Usage
{baseDir}/search.py "your search query"
Examples
# Basic search
{baseDir}/search.py "python async await tutorial"
# Search for recent news
{baseDir}/search.py "latest AI developments 2024"
# Find documentation
{baseDir}/search.py "nodejs fs promises API"
Output Format
Returns markdown-formatted search results:
## Search Results
[Title of first result](https://example.com/page1)
Description or snippet from the search result...
[Title of second result](https://example.com/page2)
Description or snippet from the search result...
When to Use
- Searching for documentation or API references
- Looking up facts or current information
- Finding relevant web pages for research
- Any task requiring web search without interactive browsing