
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
llama-index-tools-wikipedia
Advanced tools
This tool fetches content from wikipedia and makes it available to the agent as a Tool. You can search for pages or load pages directly.
This tool has more extensive example usage documented in a Jupyter notebook here
from llama_index.tools.wikipedia import WikipediaToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
tool_spec = WikipediaToolSpec()
agent = FunctionAgent(
tools=tool_spec.to_tool_list(), llm=OpenAI(model="gpt-4.1")
)
print(await agent.run("Who is Ben Afflecks spouse?"))
load_data: Loads a page from wikipedia
search_data: Searches wikipedia for a query and loads all matching pages
This loader is designed to be used as a way to load data as a Tool in a Agent. See this LlamaIndex tutorial for examples.
FAQs
llama-index tools wikipedia integration
We found that llama-index-tools-wikipedia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.