get_graph_metadata
Retrieve structured JSON metadata for a project's knowledge graph, including node/edge counts and repository state. Use it for machine-readable graph status.
Instructions
Structured JSON snapshot of a project's graph state: identity, node/edge counts, graph commit, repository HEAD and freshness. Machine counterpart of get_graph_stats — parse it instead of the text output.
Args: project: Project name. Leave empty if only one project is loaded.
Returns: JSON string: {"ok": true, ...metadata} or {"ok": false, "error": {"code", "message", "remediation"}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |