[FEATURE] Add SpecStream web search and extract tools to crewai-tools
Feature Area
Integration with external tools
Is your feature request related to a an existing bug? Please link it here.
NA
Describe the solution you'd like
Add two tools to lib/crewai-tools for the SpecStream web APIs, so an agent can search the live web and read pages with a SpecStream key:
SpecStreamSearchTool: callsGET https://api.specstream.ai/v1/web-search?q=...with a Bearer key and returns the results as JSON (title,url,snippet, and a published date where the page states one). Arguments:query, plus optionalmax_resultsandspeed("fast"for the cheaper tier).SpecStreamExtractTool: callsPOST https://api.specstream.ai/v1/extractwith{"urls": [...]}and returns the text of each page.
The shape follows the tools already in the package:
- one folder per tool under
src/crewai_tools/tools/with__init__.py, the tool module and aREADME.md, liketavily_search_toolandtavily_extractor_tool; - plain
requestscalls with no new dependency, anenv_varsentry forSPECSTREAM_API_KEYand the same error handling asbrave_search_tool/base.py; - exports in
crewai_tools/__init__.pyandtools/__init__.py, entries intool.specs.jsonand the package README; - unit tests under
tests/tools/that mockrequeststhe waybrave_search_tool_test.pydoes, so no test makes a live call; - a docs page under
docs/edge/en/tools/search-research/next tobravesearchtool.mdx, with the translations that DOCS_TRANSLATIONS.md asks for.
The pricing a user would see: $5 per 1,000 searches, $1 per 1,000 with speed="fast", and $0.80 per 1,000 extracted pages. API reference: https://specstream.ai/docs
Describe alternatives you've considered
Users can point an existing tool at SpecStream today only where that tool lets them change its base URL, and the results then come back in the other vendor's shape without the published date. A small dedicated tool keeps the parameters and output honest to the API, the same way Brave, Exa, Tavily and Linkup each have their own tool.
Additional context
Disclosure: I work on SpecStream, so this is a vendor interest.
If a maintainer agrees, I will open one focused PR that links this issue, with tests passing under uv run pytest lib/crewai-tools/tests/ -x -q and uv run mypy. If you would rather keep vendor tools in the community repo that was mentioned in #7569, I am happy to wait for that instead. Cheers.
Willingness to Contribute
Yea, I'd be happy to submit a pull request
Thanks for reaching out! This request is a better fit for the CrewAI Community Tools repository.
Please open an issue there and submit any corresponding pull request there as well.