build_context
Traverse wikilinks from a given note to build a context graph of reachable pages, with optional depth control.
Instructions
Pages reachable from a page via body wikilinks (in+out edges).
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": {
"path": "<path>"
},
"name": "build_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Repo-relative path of the note to expand from. | |
| depth | No | Number of wikilink hops to traverse (in + out edges). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | ||
| start | Yes | ||
| context | Yes | ||
| manual_reindex_recommended | Yes |