Querit Search Tool
This tool connects to the Querit Search API and allows an Agent to perform web searches with optional filters for language, geography, site whitelist/blacklist, and time range.
Installation
pip install llama-index-tools-querit
Usage
from llama_index.tools.querit import QueritToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
tool_spec = QueritToolSpec(api_key="YOUR_QUERIT_API_KEY")
agent = FunctionAgent(
tools=tool_spec.to_tool_list(),
llm=OpenAI(model="gpt-4.1"),
)
print(await agent.run("Search for the latest news about AI in 2025"))
Available Tools
search: Basic web search by query text.search_with_language: Search filtered by language (e.g."english","japanese").search_with_geo: Search restricted to a specific country (e.g."united states","japan").search_with_site_filter: Search with domain whitelist / blacklist.search_with_time_range: Search filtered to a time range (e.g."d1"past day,"m1"past month,"y1"past year).
API Key
Obtain your Querit API key from the Querit platform.
Parameters
QueritToolSpec(api_key, base_url, timeout)
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key |
str |
required | Querit API key |
base_url |
str |
"https://api.querit.ai" |
API base URL |
timeout |
float |
60.0 |
Request timeout in seconds |
This loader is designed to be used as a way to load data as a Tool in an Agent.
Metadata
Release files for llama-index-tools-querit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_tools_querit-0.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_tools_querit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / llama_index_tools_querit-0.1.0.tar.gz
| Download URL | llama_index_tools_querit-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbd573394894854c066e1aa099df5dd7f9ba1dbc595ce59276f89386412007e1
|
|
BLAKE2b-256 checksum How to use checksums |
41f3fac8619c616cf02bd2792bc84525c8730048df72fcd3633a48014d57e216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / llama_index_tools_querit-0.1.0-py3-none-any.whl
| Download URL | llama_index_tools_querit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
878492978c77793b76dd34d5c7a36e0addedd98ffa954f62d7a2bb514c90b5dc
|
|
BLAKE2b-256 checksum How to use checksums |
514566c11f66f649217a89b1fdef9b1dcf33d8cd1a6adc19455c26b8cfe23d81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|