Keep a lesson learned here
three_lesson_addSave a lesson from a fixed three.js problem so it resurfaces the next time the same error or question appears. Record a title and fix to build reusable troubleshooting memory.
Instructions
Keep a lesson you learned while fixing a three.js problem, so it comes back the next time the same message or question shows up (in three_lessons, three_explain, three_check and the review). Write it in general words: title (the lesson in one line) and fix are required; symptom, cause, test, topic, tags, rules, and error with the exact console or build message. Names, paths, e-mail addresses, links and code are taken out before it is stored, and the file never leaves this machine ($THREESMITH_HOME). The same title updates the lesson.
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>",
"fix": "<fix>"
},
"name": "three_lesson_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | Yes | ||
| path | No | Project folder, or a file or folder in it (relative to the server's folder; default: the project). | |
| tags | No | ||
| test | No | ||
| cause | No | ||
| error | No | ||
| rules | No | ||
| title | Yes | ||
| topic | No | ||
| symptom | No |