Find Bridge Papers
find_bridge_papersFind a minimum-hop citation path between two papers by searching citations and references, then poll the returned job handle for the result.
Instructions
Find the shortest citation path between two papers.
Uses BFS over the citation/reference graph. Leverages 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 failed upstream request does not abort the search. When one happens,
partial is true, failed_requests counts them, and a warning
key explains what went unfetched. 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 | |||