get_related
Fetch related documents for a given document ID from the indexed knowledge graph. Optionally limit results or query a different project.
Instructions
Get related documents
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": {
"documentId": "<documentId>"
},
"name": "get_related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| documentId | Yes | ||
| projectPath | No | Absolute path to the indexed project (defaults to the running server’s project root). Use it to query a different project in the same session. | /app |