correct_solution
Replace incorrect text in a saved solution by specifying the exact text to find and the correction to apply.
Instructions
Fix a specific piece of text in an already-saved solution.
Call this when the user corrects a name, term, or detail that was saved
incorrectly — for example 'it's not called Paperless-NGX, it's Papertagging'.
Replaces all occurrences of find with replace in the solution text.
Use enrich_solution to add new context. Use correct_solution to fix wrong text.
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": {
"entry_id": "<entry_id>",
"find": "<find>",
"replace": "<replace>"
},
"name": "correct_solution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes | The id returned by save_solution, confirm_solution, or search_similar. | |
| find | Yes | The exact text to find in the saved solution. | |
| replace | Yes | The text to replace it with. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |