Wikipedia
Search and retrieve content from Wikipedia
Wikipedia is the world's largest free online encyclopedia, offering millions of articles on a vast range of topics, collaboratively written and maintained by volunteers.
With Wikipedia, you can:
- Search for articles: Find relevant Wikipedia pages by searching for keywords or topics
- Get article summaries: Retrieve concise summaries of Wikipedia pages for quick reference
- Access full content: Obtain the complete content of Wikipedia articles for in-depth information
- Discover random articles: Explore new topics by retrieving random Wikipedia pages
In Sim, the Wikipedia integration enables your agents to programmatically access and interact with Wikipedia content as part of their workflows. Agents can search for articles, fetch summaries, retrieve full page content, and discover random articles, empowering your automations with up-to-date, reliable information from the world's largest encyclopedia. This integration is ideal for scenarios such as research, content enrichment, fact-checking, and knowledge discovery, allowing your agents to seamlessly incorporate Wikipedia data into their decision-making and task execution processes.
Usage Instructions
Access Wikipedia articles, search for pages, get summaries, retrieve full content, and discover random articles from the world's largest encyclopedia.
Tools
wikipedia_summary
Get a summary and metadata for a specific Wikipedia page.
Input
Parameter | Type | Required | Description |
---|---|---|---|
pageTitle | string | Yes | Title of the Wikipedia page to get summary for |
Output
Parameter | Type |
---|---|
summary | string |
title | string |
displaytitle | string |
description | string |
extract | string |
extract_html | string |
thumbnail | string |
originalimage | string |
content_urls | string |
revisions | string |
edit | string |
talk | string |
wikipedia_search
Search for Wikipedia pages by title or content.
Input
Parameter | Type | Required | Description |
---|---|---|---|
query | string | Yes | Search query to find Wikipedia pages |
searchLimit | number | No | Maximum number of results to return (default: 10, max: 50) |
Output
Parameter | Type |
---|---|
totalHits | string |
query | string |
searchResults | string |
wikipedia_content
Get the full HTML content of a Wikipedia page.
Input
Parameter | Type | Required | Description |
---|---|---|---|
pageTitle | string | Yes | Title of the Wikipedia page to get content for |
Output
Parameter | Type |
---|---|
content | string |
pageid | string |
html | string |
revision | string |
tid | string |
timestamp | string |
content_model | string |
content_format | string |
wikipedia_random
Get a random Wikipedia page.
Input
Parameter | Type | Required | Description |
---|
Output
Parameter | Type |
---|---|
randomPage | string |
title | string |
displaytitle | string |
description | string |
extract | string |
thumbnail | string |
content_urls | string |
Block Configuration
Input
Parameter | Type | Required | Description |
---|---|---|---|
operation | string | Yes | Operation |
Outputs
Output | Type | Description |
---|---|---|
summary | json | summary output from the block |
searchResults | json | searchResults output from the block |
totalHits | number | totalHits output from the block |
content | json | content output from the block |
randomPage | json | randomPage output from the block |
Notes
- Category:
tools
- Type:
wikipedia