create_knowledge_graph_from_file
Read a local JSON file and build a complete knowledge graph in a single call, with an optional validation mode to inspect the payload before any changes.
Instructions
Read a local JSON file and create a complete knowledge graph in one call. Accepts either the raw create_knowledge_graph payload or one nested under payload/knowledgeGraph.
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": {
"filePath": "<filePath>"
},
"name": "create_knowledge_graph_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to a JSON file with graph payload | |
| maxBytes | No | Maximum bytes to read from file (default 1000000) | |
| validateOnly | No | If true, validates and summarizes payload without creating ops |