KG Add
memory-kg-addAdd a subject-predicate-object fact to the knowledge graph and optionally replace conflicting facts for the same subject and predicate.
Instructions
Add a subject-predicate-object triple. Use replace=true to auto-invalidate conflicting facts.
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": {
"subject": "<subject>",
"predicate": "<predicate>",
"object": "<object>"
},
"name": "memory-kg-add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | Target (e.g. "Acme Corp"). | |
| replace | No | Invalidate existing triples with same subject+predicate. | |
| subject | Yes | Entity (e.g. "Matt"). | |
| predicate | Yes | Relationship (e.g. "works-at"). | |
| confidence | No | Confidence 0-1 (default: 0.5). |