add_edge_case
Log why a cached solution didn't work in a project, attaching specific context so future searches include the caveat.
Instructions
Record a context where a cached solution didn't work as-is.
Call this when search_similar returned a match but it needed modification to work in the current project. The edge case is appended to the entry so future suggestions include the caveat.
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>",
"edge_case": "<edge_case>"
},
"name": "add_edge_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes | The id returned by save_solution or search_similar. | |
| edge_case | Yes | Describe exactly why the solution didn't work in this context and what had to be done differently. Be specific: include versions, OS, config values, or environment details that matter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |