remove_goal_dependency
Beschreibung
Section titled “Beschreibung”Entfernt eine Verknüpfung (DEPENDS_ON oder CONTRIBUTES_TO) von goalId zu targetGoalId. Die Richtung zählt: Die bestehenden Verknüpfungen liefert get_goal. Fehlt die Verknüpfung, ist das kein Fehler (removed: false). Wie in der App entsteht kein Eintrag in der Änderungshistorie. Nur verfügbar, wenn die Verbindung Schreibzugriff (goals:write) erhalten hat UND Schreibzugriff für die Organisation freigeschaltet ist — sonst taucht das Werkzeug gar nicht erst auf.
Beschreibung für das Modell
Section titled “Beschreibung für das Modell”Diesen Text sieht das KI-Modell — unverändert und auf Englisch, so wie ihn der Server ausliefert:
Remove ONE goal-to-goal link in the connected organization: the type edge (DEPENDS_ON or CONTRIBUTES_TO) from goalId to targetGoalId — read the current links with get_goal first. Direction matters: an incoming dependency of goalId is removed by passing the other goal as goalId. Removing a link that does not exist is not an error (removed: false). Leaves no changelog entry, exactly like a link removed in the app. Errors: { error: “not_found”, field: “goalId” | “targetGoalId” } (not in this organization), { error: “graph_unavailable”, retryable: true } (nothing was written). On success returns { dependency: { goalId, targetGoalId, type, removed } }. Only available on connections granted write access.
Parameter
Section titled “Parameter”| Name | Typ | Pflicht | Einschränkungen | Beschreibung |
|---|---|---|---|---|
goalId | Text | Ja | The goal the edge starts from — the one that depends on / contributes to the other | |
targetGoalId | Text | Ja | The goal it depends on (DEPENDS_ON) or contributes to (CONTRIBUTES_TO) | |
type | Text | Ja | DEPENDS_ON | CONTRIBUTES_TO | DEPENDS_ON = goalId needs targetGoalId done first; CONTRIBUTES_TO = goalId helps achieve targetGoalId |