record_knowledge
Store curated knowledge items under exact repository-path keys, enabling embedding and later search. Provide an ID to update existing entries.
Instructions
Store a curated knowledge item under an exact repository-path key (no worktree/family resolution). Items are embedded and searchable via search_knowledge. Provide 'id' to update an existing item.
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": {
"repo": "<repo>",
"title": "<title>",
"body": "<body>"
},
"name": "record_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | UUID of existing item to update. Omit to insert. | |
| body | Yes | Full content of the note or lesson. | |
| repo | Yes | Exact repository-path key for curated knowledge. Worktree paths are not resolved to a shared family; use the established main-checkout key for shared notes. | |
| tags | No | Optional tags for categorisation. | |
| title | Yes | Short title. | |
| related_files | No | Repo-relative file paths that this item describes. |