lesson_add
Teaches the executor a standing rule for a project or all projects, so it applies instructions like language or style constraints before every task.
Instructions
Teach the executor a standing rule for a project (or for every project with project_path '*'). Example: 'Comments in English, no em dashes.' The executor reads its lessons before each task.
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": {
"project_path": "<project_path>",
"text": "<text>"
},
"name": "lesson_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |