with one click
web-search
// 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 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.
Visit a webpage and extract its content as markdown, or fetch images. Use for reading articles, documentation, or any web page content. Handles both HTML pages (via Jina Reader) and image URLs (downloads and saves locally).
Query previous pi sessions to retrieve context, decisions, code changes, or other information. Use when you need to look up what happened in a parent session or any other session file.
| 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. |
Perform web searches using the Jina Search API. Returns formatted search results with titles, URLs, and descriptions.
Optionally get a Jina API key for higher rate limits:
~/.profile or ~/.zprofile for zsh):
export JINA_API_KEY="your-api-key-here"
Without an API key, the service works with rate limits.
{baseDir}/search.py "your search query"
# 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"
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...