add_facts_batch
Add multiple facts at once to a knowledge graph, commit each new fact independently, and get a summary of added, duplicate, and error counts.
Instructions
Add multiple facts, committing each newly created fact independently.
Args: facts: List of fact dicts, each with same fields as add_fact: - subject, predicate, object (required) - subject_type, object_type, context, confidence, valid_from, valid_to - source_type, source_id, source_path, source_hash, source_location
Returns: Summary dict with added count, duplicates count, and any errors
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": {
"facts": "<facts>"
},
"name": "add_facts_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facts | Yes |