Graph Export
graph_exportExport your AI agent dependency graph in GraphML, Cypher, DOT, Mermaid, or JSON format for visualization and analysis.
Instructions
Export the agent dependency graph in graph-native formats.
Formats:
- **graphml** — yEd, Gephi, NetworkX compatible with AIBOM-typed attributes
- **cypher** — Neo4j import script with AIBOM node labels (AIAgent, MCPServer, Package, Vulnerability)
- **dot** — Graphviz (pipe through ``dot -Tsvg``)
- **mermaid** — embed in markdown, GitHub, Notion
- **json** — machine-readable nodes/edges list
Returns:
Graph in the requested format as a string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_path | No | Path to MCP config directory. Omit to auto-discover. | |
| format | No | Export format: graphml, cypher, dot, mermaid, or json (default). | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |