Add Parallel Search docs and update to use python SDK #4007
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds docs for
ParallelSearchTooland updates the existing implementation to use the officialparallel-webSDK instead of usingrequestsdirectly. I've also updated the API based on recent changes to the search API.This is my first PR in this repo, so please let me know if I've missed any steps. Happy to make updates. Thanks!
Note: I did not make any changes to
tool.specs.jsonas the script to generate it made a lot of unrelated changes. Let me know if there's another way to run it.Tested locally successfully.

Note
Adds docs and navigation for
ParallelSearchTool, migrates the tool to theparallel-webSDK with new config options, and updates tests and dependencies.en/tools/search-research/parallelsearchtoolpage with installation, config, usage, and examples.docs.jsonnavigation andsearch-research/overview.mdx(new card, code snippets import and usage).parallel_search_tool.py):requestswithparallel-webSDK (Parallel().beta.search).api_key,mode(one-shot/agentic),max_results,excerpts,fetch_policy,source_policy.objective,search_queries, optional overrides formax_results/source_policy.processorandmax_chars_per_result(mapped viaexcerptswith warnings).PARALLEL_API_KEY,dotenv).parallel-web>=0.3.4inpyproject.tomland lockfile entries.Written by Cursor Bugbot for commit 5ed9247. This will update automatically on new commits. Configure here.