lesson_neighbors
Find existing related lessons before creating a new one. Submit a title and body to get ranked semantic neighbors, then consolidate or link to avoid duplication.
Instructions
Suggest nearby existing lessons before creating a new one.
Pass the prospective title, summary, and body before lesson_append.
The result is a ranked, read-only list of semantic neighbors. Read a
relevant slug and either patch/consolidate it or add a [[slug]] link
to the new lesson while it is still being authored.
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": {
"title": "<title>",
"body": "<body>"
},
"name": "lesson_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| body | Yes | ||
| title | Yes | ||
| summary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |