set_ai_error
Record your own AI mistakes or user corrections to improve future responses. Log the correct fact, category, and what was originally said wrong.
Instructions
Record AI Correction — Record a mistake in YOUR OWN responses or behavior (this dashboard chat). Call this when the user corrects you, AND when you proactively detect you did something wrong. This includes: wrong answers and behavioral rules about HOW you should act. IMPORTANT: This is for YOUR errors. For errors in the CONTENT of responses sent to customers by the WhatsApp AI, use set_customer_ai_error instead. [mutation]
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": {
"fact_content": "<fact_content>",
"category": "<category>"
},
"name": "set_ai_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact_content | Yes | The correct information or rule to remember | |
| category | Yes | Category: shipping, pricing, warranty, product, tone, policy, communication, general | |
| original_text | No | What the AI originally said wrong |