get_linked_nodes
Find outgoing references and incoming backlinks for a page UID, with optional direction filtering, to map connections in a Roam discourse graph.
Instructions
Find all nodes linked to/from a given page. Returns outgoing references (pages this node links to) and/or incoming backlinks (pages that link to this node).
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": {
"uid": "<uid>"
},
"name": "get_linked_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The page UID to find links for. | |
| graph | No | Graph name or nickname. | |
| direction | No | Direction of links. Default: both. | both |