quipu_retract
Retract ROOT/default-graph facts for an entity, either all facts or those narrowed by predicate and value; use entity, predicate, and value together to remove one stray statement.
Instructions
Retract ROOT/default-graph facts for an entity: all of them, or narrowed by predicate and/or value. Supplying a graph field is refused; named-graph facts are untouched. Entity + predicate + value retracts exactly ONE (e,a,v) statement — use this to remove a stray edge instead of retracting a whole episode and rebuilding it.
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": {
"entity": "<entity>"
},
"name": "quipu_retract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Who is performing the retraction | |
| graph | No | Unsupported: omit this field. This tool operates only on ROOT/default graph; use graph-scoped quipu_update for named graphs. | |
| value | No | Optional: only retract facts with this object value. A bare string is a literal; use {"iri": "..."} for a reference, or {"int"|"float"|"bool": ...}. With entity + predicate this pins a single triple. | |
| entity | Yes | IRI of the entity to retract | |
| source | No | Provenance source of the retraction. | |
| predicate | No | Optional: only retract facts with this predicate IRI | |
| timestamp | No | ISO-8601 timestamp for the retraction | |
| allow_orphan | No | Allow identity facts to be removed from a still-referenced entity. |