trace_document_path
Trace how two documents connect by following links in either direction, showing each step and the path's weakest link. Read-only.
Instructions
The shortest way two documents connect, walking links in either direction. Each step says how it is known, and the path is only as strong as its weakest step. Read-only.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "trace_document_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | A document id, as get_docs returns it | |
| from | Yes | A document id, as get_docs returns it | |
| max_hops | No | Longest path to look for (default 6) |