Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.
Tools/Workspace & Portfolios/list_local_products

list_local_products

Find every .upg file in the current directory and its immediate subdirectories.

Workspace & Portfoliosatomic (read-only)

Arguments

No arguments: this tool takes no input.

Returns

Shape
{ products: Array<{ file, title, stage, nodes, edges }> }

stage is the CANONICAL UPGProductStage (legacy values like idea are coerced to concept), or null when unset — matching what get_product_context reports for the same product (UPG-611 / DT-MCP-3).

Examples

Live call against the Notion example graph.

Output

{
  "products": [
    {
      "file": "test-fixtures/sample.upg",
      "title": "Example Product Graph",
      "stage": "mvp",
      "nodes": 8,
      "edges": 6
    }
  ]
}

See Also