hac_record_learning
Records error patterns, fixes, and best practices into SAP-Commerce-MCP's persistent knowledge base to help resolve recurring SAP Commerce issues.
Instructions
Records a newly discovered error pattern, solution, or best practice into the MCP's persistent knowledge base.
Args: pattern_name: Short title for the rule/pattern (e.g. 'B2BCostCenter Type Code') problem: Description of the obstacle, error, or symptom encountered solution: Exact fix, workaround, or ImpEx/Groovy snippet that solves it tags: Categorization tags (e.g. ['b2b', 'impex'])
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_name": "<pattern_name>",
"problem": "<problem>",
"solution": "<solution>"
},
"name": "hac_record_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| problem | Yes | ||
| solution | Yes | ||
| pattern_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |