Skip to content

API Reference parrot_tools.sitesearch.toolkit

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.sitesearch.toolkit

View source

SiteSearchToolkit for site-specific searches with preset support.

Class SiteSearchToolkit

Toolkit for site-specific web searches with preset configurations.

Provides two tools:

  • site_presets_list: Discover available preset configurations
  • site_search: Perform site-specific searches with optional preset support

Method SiteSearchToolkit.site_presets_list

List available preset configurations for site search.

Returns a list of available presets with their names and descriptions. Use this to discover which presets can be used with the site_search tool.

site_presets_list() -> Dict[str, Any]

Returns: Dict[str, Any]

Method SiteSearchToolkit.site_search

Search within a given site and return fully-rendered page content as markdown.

Supports presets for common searches (e.g., 'best_buy_deals' for trending Best Buy deals). Use 'site_presets_list' tool first to discover available presets.

site_search(url: str = None, query: str = None, preset: str = None, selectors: List[str] = None, max_results: int = 3) -> Dict[str, Any]

Parameter Type Default Description
url str None Base URL of the site to explore. Required if preset is not provided.
query str None Terms to search for within the provided site.
preset str None Preset name for predefined search configurations. If provided, url and selectors will be taken from preset.
selectors List[str] None Optional CSS selectors to extract specific page areas.
max_results int 3 Maximum number of search results to process (1-10).

Returns: Dict[str, Any] — Dictionary with search results including rendered markdown content.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally