create_graph
Create a new knowledge graph with custom configuration including persistence settings, size limits, and descriptive metadata for organizing structured data.
Instructions
Create a new graph with specified configuration.
Args:
graph_id: Unique identifier for the graph
name: Human-readable name for the graph
description: Optional description of the graph's purpose
is_persistent: Whether the graph persists across sessions
max_triples: Optional limit on graph size
ctx: MCP context for user authentication
Returns:
JSON response with graph creation details and next steps
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| name | Yes | ||
| description | No | ||
| is_persistent | No | ||
| max_triples | No |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"default": "",
"title": "Description",
"type": "string"
},
"graph_id": {
"title": "Graph Id",
"type": "string"
},
"is_persistent": {
"default": true,
"title": "Is Persistent",
"type": "boolean"
},
"max_triples": {
"default": 0,
"title": "Max Triples",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"graph_id",
"name"
],
"type": "object"
}