Teach
localnest_teachCreate durable behavior rules that automatically surface in future tasks. Set coding standards, preferences, or workflow rules to persist across sessions.
Instructions
Teach the agent a durable behavior rule. Stores a high-importance feedback memory that auto-surfaces in agent_prime when future tasks match the instruction domain. Use this to set persistent preferences, coding standards, or workflow rules that should apply across sessions. Teach memories can be listed (kind=feedback), updated, or deleted via existing memory CRUD tools.
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": {
"instruction": "<instruction>"
},
"name": "localnest_teach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instruction | Yes | ||
| importance | No | ||
| tags | No | ||
| nest | No | ||
| branch | No | ||
| scope | No | ||
| terse | No | verbose | |
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |