learn
Records a project-specific lesson to prevent repeating an error, attaching it to the relevant error, file, or test so it resurfaces when that issue recurs.
Instructions
Guarda una lección del proyecto para no repetir un error (p. ej. "usar Decimal, nunca float, para dinero"). Aparecerá sola junto a ese error si vuelve a ocurrir.
Args:
path: ruta absoluta al proyecto.
lesson: la lección, en una frase.
about: opcional, a qué se aplica: código de error (F821), archivo o nombre de test.
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": {
"path": "<path>",
"lesson": "<lesson>"
},
"name": "learn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| about | No | ||
| lesson | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||