> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Search tools

> Search the web and pull from external knowledge sources.

Add these tools with `AgentTools.<tool>(tool_name="...", ...)` or `agent.add_tool.<tool>(tool_name="...", ...)`. Every tool requires a unique `tool_name=`. Each entry lists the tool's configuration parameters. See the [Agent reference](https://docs.vectorshift.ai/sdk/agent/reference.md) for attaching and running tools.

## `api` — API

Make an API request to a given URL.

> [!NOTE]
>
> Platform docs: [API](https://docs.vectorshift.ai/platform/pipelines/data-loaders/api)

```python Sync theme={"languages":{}}
AgentTools.api(tool_name="...", is_raw_json=True, url="...")
```

**Parameters**

**is\_raw\_json** `bool` *required*

Whether to return the raw JSON response from the API

**url** `str` *required*

Target URL for the API Request

**body\_params** `list[Dict[str, Any]]`

The body parameters to include in the API request

**files** `list[Dict[str, Any]]`

Files to include in the API request

**headers** `list[Dict[str, Any]]`

Headers to include in the API request

**method** `str`

Choose the API Method desired (GET, POST, PUT, DELETE, PATCH)

**query\_params** `list[Dict[str, Any]]`

Query parameters to include in the API request

**raw\_json** `str`

The raw JSON request to the API

## `arxiv` — Arxiv Loader

Query ARXIV to return relevant articles

> [!NOTE]
>
> Platform docs: [Arxiv Loader](https://docs.vectorshift.ai/platform/pipelines/data-loaders/arxiv)

```python Sync theme={"languages":{}}
AgentTools.arxiv(tool_name="...", chunk_text=True, query="...")
```

**Parameters**

**chunk\_text** `bool` *required*

Whether to chunk the text

**query** `str` *required*

The ARXIV query

**chunk\_overlap** `int`

The overlap of the chunks

**chunk\_size** `int`

The size of the chunks to create

## `crunchbase` — Crunchbase

Call the Crunchbase API to look up companies, people, funding rounds, and acquisitions.

> [!NOTE]
>
> Platform docs: [Crunchbase](https://data.crunchbase.com/docs/using-the-api)

```python Sync theme={"languages":{}}
AgentTools.crunchbase(tool_name="...")
```

**Parameters**

**body** `Any`

JSON body for searches/\* endpoints. IMPORTANT: categories and location\_identifiers require UUIDs from autocomplete, not text! Example: \{"field\_ids":\["identifier","funding\_total"],"query":\[\{"type":"predicate","field\_id":"categories","operator\_id":"includes","values":\["uuid-from-autocomplete"]}],"limit":25}

**endpoint** `Any`

API path: 'autocompletes' | 'entities/organizations/\{id}' | 'entities/people/\{id}' | 'searches/organizations' | 'searches/funding\_rounds' | 'searches/people'

**query\_params** `Any`

Query string for GET requests. Autocomplete: 'query=\{name}\&collection\_ids=organization.companies'. Entity lookup: 'field\_ids=short\_description,funding\_total\&card\_ids=founders'

## `exa_ai` — Exa AI Search

Query the Exa search API

> [!NOTE]
>
> Platform docs: [Exa AI Search](https://docs.vectorshift.ai/platform/pipelines/data-loaders/web-search-exa)

```python Sync theme={"languages":{}}
AgentTools.exa_ai(tool_name="...")
```

**Parameters**

**end\_crawl\_date** `Any`

Only return results crawled before this date (ISO 8601)

**end\_published\_date** `Any`

Only return results published before this date (ISO 8601, e.g. 2024-12-31T00:00:00.000Z)

**livecrawl** `Any`

Enable live crawling to fetch fresh content. When on, always fetches live content. When off, uses cached content.

**loader\_type** `str` (default: 'EXA\_AI\_SEARCH')

Select the search category to match the user's query intent. Default to EXA\_AI\_SEARCH: General web search. Use general search for weather

**max\_characters** `int` (default: 2000)

Maximum characters per result for text or highlights content

**num\_results** `int` (default: 10)

Number of results to return (1-100) default 10

**query** `str` (default: '')

The search query

**search\_type** `Any`

Search method: auto (default) intelligently combines methods, neural uses embeddings, fast is streamlined, instant is lowest latency, deep/deep-reasoning/deep-max offer increasing search depth, Generally default to auto

**start\_crawl\_date** `Any`

Only return results crawled after this date (ISO 8601)

**start\_published\_date** `Any`

Only return results published after this date (ISO 8601, e.g. 2024-01-01T00:00:00.000Z)

**use\_highlights** `bool` (default: False)

Return LLM-selected highlights instead of full text. Uses \~10x fewer tokens with better relevance.

## `google_search` — Google Search

Query the Google Search search API

> [!NOTE]
>
> Platform docs: [Google Search](https://docs.vectorshift.ai/platform/pipelines/data-loaders/web-search-google)

```python Sync theme={"languages":{}}
AgentTools.google_search(tool_name="...")
```

**Parameters**

**location** `str` (default: 'us')

The location of the search

**num\_results** `int` (default: 10)

The number of results to return

**query** `str` (default: '')

The Google search query

**search\_type** `str` (default: 'web')

Select the search type: Web, Image, Hotels, Events, or News

## `parallel_ai_search` — Parallel Search

Search the web with Parallel's Search API

> [!NOTE]
>
> Platform docs: [Parallel Search](https://docs.parallel.ai/reference/search)

```python Sync theme={"languages":{}}
AgentTools.parallel_ai_search(tool_name="...")
```

**Parameters**

**blocked\_domains** `list[str]` (default: \[])

Exclude these domains from the response.

**excerpts\_max\_chars\_per\_result** `int` (default: 1500)

Limit the excerpt length returned inside the excerpts object.

**fetch\_live\_results** `bool` (default: False)

Enable to fetch the latest version of each page instead of relying on cached index entries.

**max\_chars\_per\_result** `int` (default: 1500)

Legacy field for truncating excerpts. Prefer the excerpts.\* controls when available.

**max\_results** `int` (default: 10)

Upper bound on the number of results to return.

**mode** `str` (default: 'one-shot')

Choose output presets. one-shot maximizes coverage, agentic optimizes for iterative agent loops.

**objective** `str` (default: '')

Describe what the search should accomplish. Provide preferred sources or freshness hints here.

**preferred\_domains** `list[str]` (default: \[])

Prioritize these domains in ranked results.

**processor** `str` (default: '')

Legacy tier selector. Leave blank to use the default tier for your workspace.

**search\_queries** `list[str]` (default: \[])

Optional structured keyword queries. At least one of objective or search queries is required.

## `perplexity_search` — Perplexity Search

Query the Perplexity search API

> [!NOTE]
>
> Platform docs: [Perplexity Search](https://docs.perplexity.ai/guides/search-quickstart)

```python Sync theme={"languages":{}}
AgentTools.perplexity_search(tool_name="...")
```

**Parameters**

**last\_updated\_after\_filter** `str` (default: '')

Filter results last updated after this date

**last\_updated\_before\_filter** `str` (default: '')

Filter results last updated before this date

**max\_results** `int` (default: 10)

The maximum number of results to return

**max\_tokens\_per\_page** `Any`

Maximum tokens per page

**query** `str` (default: '')

The search query

**query\_list** `list[str]` (default: \[])

Additional queries to search for

**return\_images** `bool` (default: False)

Whether to return images in results

**return\_snippets** `bool` (default: True)

Whether to return snippets in results

**search\_after\_date\_filter** `str` (default: '')

Filter results published after this date

**search\_before\_date\_filter** `str` (default: '')

Filter results published before this date

**search\_domain\_filter** `list[str]` (default: \[])

Filter results to specific domains

**search\_mode** `str` (default: '')

The search mode to use

**search\_recency\_filter** `str` (default: '')

Filter results by recency

**user\_location\_latitude** `str` (default: '')

The latitude of the user's location

**user\_location\_longitude** `str` (default: '')

The longitude of the user's location

**user\_location\_name** `str` (default: '')

The name of the user's location

**user\_location\_radius\_km** `str` (default: '')

The radius in kilometers for location-based search

## `url_loader` — URL Scraper: Scrape URL

Scrape the contents from a URL

> [!NOTE]
>
> Platform docs: [URL Scraper: Scrape URL](https://docs.vectorshift.ai/platform/pipelines/data-loaders/web-scraper)

```python Sync theme={"languages":{}}
AgentTools.url_loader(tool_name="...", provider="apify", api_key="...", url="...")
```

**Parameters**

**provider** `str` *required*

The provider to use for the URL Scraper
One of: `apify`, `jina`, `modal`

**api\_key** `str` *required*

The API key to use

**url** `str` *required*

The URL to load

**ai\_enhance\_content** `bool`

Whether to enhance the content

**use\_proxy** `bool`

Use a proxy to crawl the website

## `wikipedia` — Get Wikipedia Article

Query Wikipedia to return relevant articles

> [!NOTE]
>
> Platform docs: [Get Wikipedia Article](https://docs.vectorshift.ai/platform/pipelines/data-loaders/wikipedia)

```python Sync theme={"languages":{}}
AgentTools.wikipedia(tool_name="...", chunk_text=True, query="...")
```

**Parameters**

**chunk\_text** `bool` *required*

Whether to chunk the text

**query** `str` *required*

The Wikipedia query

**chunk\_overlap** `int`

The overlap of the chunks

**chunk\_size** `int`

The size of the chunks to create

## `youtube` — Get YouTube Transcript

Get the transcript of a youtube video.

> [!NOTE]
>
> Platform docs: [Get YouTube Transcript](https://docs.vectorshift.ai/platform/pipelines/data-loaders/youtube)

```python Sync theme={"languages":{}}
AgentTools.youtube(tool_name="...", chunk_text=True, url="...")
```

**Parameters**

**chunk\_text** `bool` *required*

Whether to chunk the text

**url** `str` *required*

The YouTube URL to get the transcript of

**chunk\_overlap** `int`

The overlap of the chunks

**chunk\_size** `int`

The size of the chunks to create


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.