palinode_orphan_repair
Repair broken wikilinks by finding semantically related existing memory files. Use suggestions to redirect the link or create a missing target with context.
Instructions
Given a [[wikilink]] whose target file does not exist, return existing memory files semantically near the link target text. Use during wiki-maintenance passes to either propose a redirect (rename the link to point at an existing file) or to create the missing target file with informed context about its semantic neighbours. Accepts either [[name]] or bare name.
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": {
"broken_link": "<broken_link>"
},
"name": "palinode_orphan_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Maximum number of candidate files to return. Default 10. | |
| broken_link | Yes | The wikilink text (e.g. '[[alice-meeting]]') or bare target slug. | |
| min_similarity | No | Minimum cosine similarity to surface (0.0–1.0). Default 0.65 — looser than dedup_suggest because the LLM picks from a wider slate. |