kb_repair
Find notebook notes that are written but unreachable because required anchor symbols or verified flow paths are missing, then repair each listed note with kb_write.
Instructions
List the notebook notes that are WRITTEN BUT UNFINDABLE — missing the fields a note cannot be retrieved without (anchor symbols, a flow's verified paths). Notes written before those fields were required are correct but unreachable, and this is how they get found.
Returns a worklist, never a change: repairing is your work, because every gap needs a judgement about the code (which words a reader would search for, which symbols the note is actually about, which files you can honestly claim to have read). Fix each one with kb_write, passing the note's id — fields merge, so nothing already in the note is lost.
A clean notebook returns "Nothing to repair here." Run it when the user asks to repair, fix, or clean up the notebook.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kb_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||