cos_learn_validate
Record whether a suggested pattern was helpful, then adjust its confidence using brain-inspired formulas for more accurate future validation.
Instructions
Record whether a suggested pattern was helpful.
Updates confidence using brain-inspired formulas:
Helpful: LTP with diminishing returns + temporal proximity bonus
Not helpful: LTD proportional penalty
Args: pattern_id: ID in learned_patterns table. was_helpful: Whether the pattern was useful (default True).
Returns: str: JSON with old/new confidence and validation status.
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": {
"pattern_id": "<pattern_id>"
},
"name": "cos_learn_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern_id | Yes | ||
| was_helpful | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |