spidra_search
Discover news, academic papers, and GitHub issues by performing web searches. Obtain ranked results, links, and full page content for complex research tasks.
Instructions
Search the web and get back ranked results: titles, links and descriptions, as a search engine shows them. Waits and returns the results, usually in a few seconds.
Use it when you don't know the URL yet, want news, images or videos, or want research papers (arXiv, PubMed, bioRxiv, medRxiv) or GitHub issues and pull requests. Don't use it for a URL you already have: spidra_scrape reads it directly and can extract fields with a prompt or schema.
Only "web" results come back unless you set "sources". Each source runs on its own, and an empty one doesn't affect the others. "research" and "developer" ignore includeDomains, excludeDomains and filetype.
"includeDomains" or "excludeDomains" (never both) keeps results to, or away from, certain sites.
More results: send a source's token from "nextPageTokens" back as "pageTokens" (e.g. {"web": ""}). Ranks continue (11, 12, ...). A source with no token has no more pages.
"scrapeOptions" also returns each web result's page as Markdown in the same call. It then takes as long as the slowest page and costs a scrape per page. Results from popular sites (Amazon, LinkedIn, YouTube and others) also get "structuredData".
Don't add the current year to queries unless the user asked for it; it skews results.
Cost: 1 credit per 10 results per source, rounded up. A source with no results is free.
Example: {"query": "best espresso machine", "sources": ["web", "news"], "limit": 5}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per source, 1 to 20 (default 10) | |
| query | Yes | What to search for, as you'd type it into a search engine | |
| country | No | Two-letter country code for local results, or "global", "eu" or "asia" | |
| sources | No | Result types (default ["web"]). "research" = academic papers, "developer" = GitHub issues and PRs. | |
| filetype | No | Only PDF files | |
| timeRange | No | Only results from this recent window | |
| pageTokens | No | Tokens from a previous response's "nextPageTokens", to get the next page of those sources | |
| scrapeOptions | No | Also return each web result's page as Markdown, in this same call | |
| excludeDomains | No | No web results from these domains. Not with includeDomains. | |
| includeDomains | No | Only web results from these domains. Not with excludeDomains. |