ao_kg_add
Adds a subject-predicate-object fact to the knowledge graph, with an optional validity window, so agents can store temporal, citable relationships.
Instructions
Add a fact (triple) to the knowledge graph. Subject-predicate-object with optional validity window.
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": "ao_kg_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | Object entity. | |
| source | No | Source file or drawer reference. | |
| subject | Yes | Subject entity. | |
| predicate | Yes | Relationship verb. | |
| principal | No | User/agent id to act as (ACL + audit actor); ignored if the server pins $OMPA_PRINCIPAL | |
| valid_from | No | Start date (YYYY-MM-DD). | |
| vault_path | No | . |