Capture an operational learning
capture_learningCapture an operational learning when an agent fails or you discover a better approach. This is the core OTP feedback loop: agent fails → you correct → correction becomes coordination intelligence → all agents improve. The learning is saved as a claim in your draft OOS and will be available via get_my_rules.
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": {
"what_failed": "<what_failed>",
"what_to_do": "<what_to_do>"
},
"name": "capture_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Why this matters. E.g. 'Without date validation, the analysis includes pre-launch zeros that skew averages down' | |
| agent | No | Which agent failed. E.g. 'Dash', 'Pepper', 'Dirk' | |
| section | No | Which OOS section this belongs in (auto-detected if not specified) | |
| source_url | No | URL to a better approach, repo, or reference. E.g. 'https://github.com/user/better-meta-analysis' | |
| what_to_do | Yes | The rule/fix. E.g. 'Always validate date ranges against the campaign's actual active period before running spend analysis' | |
| what_failed | Yes | What went wrong. E.g. 'Dash gave bad Meta Ads analysis -- used wrong date range and missed spend anomalies' |