Find Bridge Papers
find_bridge_papersFind the shortest citation path between two papers via citations or references, returning a job handle to poll when the search runs long.
Instructions
Find the shortest citation path between two papers.
Uses BFS over the citation/reference graph. Uses cached citation and reference lists to minimise API calls.
The search walks outward one rate-limited request per node, so it
commonly runs long and returns a job handle to poll with
get_job_result rather than the path itself.
A Semantic Scholar throttle defers the same search. Poll the job handle; the resumed search does not mark the throttled request as partial.
A failed upstream request does not abort the search. When one happens,
partial is true, failed_requests counts them, and a warning
key explains what was not fetched. A partial {"found": false} is not
evidence that no path exists, and a partial {"found": true} path is
not guaranteed to be the shortest one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Expand via citations, references, or both. | both |
| max_depth | No | Maximum hops to search (default 4). | |
| source_id | Yes | Starting paper S2 ID. | |
| target_id | Yes | Target paper S2 ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||