Back to Autogpt

Search

docs/integrations/block-integrations/search.md

0.6.442.4 KB
Original Source

Search

<!-- MANUAL: file_description -->

Blocks for web searching, content extraction, and information retrieval from various search engines and APIs.

<!-- END MANUAL -->

Get Wikipedia Summary

What it is

This block fetches the summary of a given topic from Wikipedia.

How it works

<!-- MANUAL: how_it_works -->

The block sends a request to Wikipedia's API with the provided topic. It then extracts the summary from the response and returns it. If there's an error during this process, it will return an error message instead.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
topicThe topic to fetch the summary forstrYes

Outputs

OutputDescriptionType
errorError message if the summary cannot be retrievedstr
summaryThe summary of the given topicstr

Possible use case

<!-- MANUAL: use_case -->

A student researching for a project could use this block to quickly get overviews of various topics, helping them decide which areas to focus on for more in-depth study.

<!-- END MANUAL -->

What it is

This block searches for local businesses using Google Maps API.

How it works

<!-- MANUAL: how_it_works -->

This block uses the Google Maps Places API to search for businesses and locations based on a query. Configure radius (up to 50km) to limit the search area and max_results (up to 60) to control how many places are returned.

Each place result includes name, address, rating, reviews, and geographic coordinates for integration with mapping or navigation workflows.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
querySearch query for local businessesstrYes
radiusSearch radius in meters (max 50000)intNo
max_resultsMaximum number of results to return (max 60)intNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
placePlace foundPlace

Possible use case

<!-- MANUAL: use_case -->

Lead Generation: Find businesses in a specific area for sales outreach.

Competitive Analysis: Search for competitors in target locations to analyze their presence and ratings.

Local SEO: Gather data on local businesses for market research or directory building.

<!-- END MANUAL -->