find_lessons
Retrieve procedural rules for a query or project, filtering out lessons from other projects while keeping generic cross-project rules.
Instructions
Standalone 'what procedural rules apply to X'. find_lessons(query, project?) → lessons with surface_id; project scope excludes explicit lessons from other projects while retaining generic rules. FOLLOW them, then mark_lesson_followed.
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": "find_lessons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max lessons to return (default 5) | |
| query | No | topic to filter by (empty = recent lessons across all projects) | |
| project | No | optional project name; explicit lessons from other projects are excluded while generic cross-project rules remain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |