correct tool is how you fix wrong information in Hyper. When a teammate tells you that something Hyper knows is incorrect, correct records the right information and then searches your entire workspace for every document that contains the wrong version — and applies the correction to all of them. This ensures the mistake doesn’t resurface from an older memory document even after you’ve corrected the obvious one.
Parameters
Returns
Returns
"Correction recorded. Hyper will update its knowledge accordingly." on success. The correction pipeline runs asynchronously — affected documents are updated in the background.How It Works
When you callcorrect, Hyper does three things:
- Records the correction — stores the user’s exact words as a correction event.
- Runs a vector search — finds every memory document in the workspace that semantically relates to the wrong information.
- Applies the correction — updates each affected document to reflect the right information, so the error can’t resurface from an older entry.
Example Calls
Correcting a technology decision
The user says: “We actually chose MySQL, not PostgreSQL — the PostgreSQL entry in Hyper is wrong.”Correcting a person’s status
The user says: “Marcus finished the AML integration last Friday — Hyper says he’s still in progress but it’s done.”Correcting a timeline
The user says: “The billing integration wasn’t deferred to Q3 — we actually cut it from the roadmap entirely.”When to Use correct vs. remember
These two tools serve different purposes and should not be used interchangeably:| Situation | Tool to use |
|---|---|
| The user wants to save something new | remember |
| The user says something in Hyper is wrong | correct |
| You think retrieved context might be outdated | Neither — wait for user confirmation |
| The user provides updated information unprompted | remember (it’s an update, not a correction) |
Why Exact Wording Matters
correct uses the user’s exact words as input to the vector search that identifies affected documents. If you paraphrase the correction, the search may miss documents that would have matched the original phrasing. Always pass correction as a verbatim quote of what the user said.