Graph Export
graph_exportExport agent dependency graphs in formats like GraphML, Cypher, DOT, Mermaid, and JSON for use in security analysis and visualization tools.
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 |