related
Report a topic's inbound and outbound wiki-link relationships, showing which topics it links to and which link back to it.
Instructions
Report outbound and inbound wiki-link relationships for a topic.
Returns {id, outbound, inbound}. outbound lists [[topic-id]] links in this topic; inbound lists topics that link to this topic. Errors if the topic does not exist.
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": {
"topic_id": "<topic_id>"
},
"name": "related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | Topic id whose link graph to report |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |