locus_export_kg
Export a knowledge graph to GraphML, JSONL, or DOT files for Gephi/Cytoscape visualization, scripting, or Graphviz; the format is auto-detected from the file extension.
Instructions
Export the knowledge graph to a file. Formats: graphml (Gephi/Cytoscape), jsonl (scripting), dot (Graphviz). Format is auto-detected from the file extension if not specified.
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": {
"path": "<path>"
},
"name": "locus_export_kg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output file path. | |
| format | No | Export format (auto from extension if omitted). | |
| store_path | No | .locus |