get_graph_ids
Retrieve all stored graph IDs to access and manage network data for visualization and analysis.
Instructions
Get a list of all stored graph IDs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The @mcp.tool() decorated async function get_graph_ids() that returns the list of keys from the global graph_cache dictionary. This is the core handler logic for the tool and also serves as its registration via the decorator.@mcp.tool() async def get_graph_ids() -> List[str]: """Get a list of all stored graph IDs.""" return list(graph_cache.keys())