Fix a bad AI answer
fix_bad_answerWhen an AI answer goes wrong (it made up a source or a number, ignored an instruction, came back too long or in the wrong shape, sounded robotic or generic, changed every time, refused, or lost track of a long chat), find the likely cause and the exact line to add to the prompt. Draws on the thinkhard.si troubleshooter of 33 common problems. Describe what went wrong in plain words.
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": {
"problem": "<problem>"
},
"name": "fix_bad_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional: how many likely causes to return, best match first (1 to 5, default 3). | |
| problem | Yes | What went wrong, in plain words, for example "it invented a statistic" or "it keeps ignoring my word limit". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes | Best match first. Empty when nothing matches. |