Add Parallel Search docs and update to use python SDK #4007
+807
−177
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 for
ParallelSearchTooland rewrites the tool to use theparallel-webSDK with new config options, updated API, tests, and dependency extras.parallel-webSDK (Parallel.beta.search), with init optionsapi_key,mode,max_results,excerpts,fetch_policy,source_policyand runtime overrides formax_results/source_policy.processorandmax_chars_per_result(now handled viamodeandexcerpts), adds robust client/env checks, dotenv load, and JSON response formatting.en/tools/search-research/parallelsearchtoolpage with installation, config, examples, and tips.docs/docs.jsonnavigation.parallel-web>=0.3.4inpyproject.tomlanduv.lock.Written by Cursor Bugbot for commit 4b69a2c. This will update automatically on new commits. Configure here.