Graph Weaken
graph_weakenReduce the weight of a graph edge when the user corrects a recalled fact, such as saying 'no' or 'that's wrong'. Persists immediately with weight clamped at 0.0.
Instructions
Decrease an edge's weight when the user corrects a recalled fact. Call this when the user says 'no', 'that's wrong', or corrects something from the graph. Persists immediately; weight clamps at 0.0. Returns an error if the edge doesn't exist — use graph_delete to remove an entity outright. To replace a fact rather than weaken it, prefer graph_relate with the new fact and SUPERSEDES.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Weaken amount (default: 0.3) | |
| reason | No | Why weakening | |
| to_name | Yes | Target entity name or ID | |
| relation | Yes | Relationship type | |
| from_name | Yes | Source entity name or ID |