Graph Neighbors
graph_neighborsLists who cites or is cited by specified papers to reveal their local citation context for literature analysis.
Instructions
Show the citation neighbors (who cites it / whom it cites) of papers.
TRIGGER when the user asks 某篇文献被谁引用、它引用了谁, or wants the local citation context of specific papers.
For each requested work, lists who cites it (in / predecessors) and whom it cites (out / successors), within the selected set.
work_ids 必填:同 graph_analyze,先用 library_query
选出论文。方向语义:in = 谁引用了它;out = 它引用了谁;
both = 两者都列(默认)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"work_ids": "<work_ids>"
},
"name": "graph_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_ids | Yes | Comma-separated OpenAlex work IDs (required). | |
| direction | No | ``"in"`` | ``"out"`` | ``"both"`` (default ``"both"``). | both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |