kernel_agents_add_learning
Manually add a pattern, avoidance note, preference, or insight to an agent; high-confidence entries are injected into its system prompt to guide future behavior.
Instructions
Manually add a learning/insight to an agent. High-confidence learnings are injected into the agent's system prompt.
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": {
"agent_id": "<agent_id>",
"type": "<type>",
"content": "<content>"
},
"name": "kernel_agents_add_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Learning type: pattern (observed), avoid (don't do), prefer (do this), insight (general) | |
| scope | No | general = applies to every project; project (default when your run has a project) = only this project | |
| content | Yes | The learning content | |
| agent_id | Yes | Agent ID | |
| confidence | No | Confidence 0-1 (default: 0.7) |