palace_kg_add
Adds a subject-predicate-object fact to a knowledge graph, with optional valid date and source closet, so agents can store project memory for grounded retrieval.
Instructions
Add a fact to the knowledge graph. Subject → predicate → object.
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": "palace_kg_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | ||
| subject | Yes | ||
| predicate | Yes | ||
| valid_from | No | YYYY-MM-DD (optional) | |
| source_closet | No | Closet ID (optional) |