Skip to content
Tools/Context & Session/get_product_context

get_product_context

Product summary, entity counts by type, and a human-readable graph overview. Call first to understand the file. Pass include_summary for edge counts, orphans, and edges-by-type.

Context & Sessionatomic (read-only)

Arguments

include_summarybooleanoptional

Include detailed graph statistics (edge counts by type, orphan count)

if_changed_sincestringoptional

Hash from a previous response. Returns { changed: false } if graph unchanged.

Returns

Markdown string with product header, lens preamble, entity counts, active-domain creation sequences, and _hash footer for if_changed_since diffing.

Examples

Live call against the Notion example graph.

Output

## Notion (SATURATED test graph)

Stage: concept

Lens: product

### 🧭 Product Lens
- Personas: 4
- Outcomes: 6
- Hypotheses: 6 (0 validated)

### Graph Stats
- Nodes: 2054
- Edges: 3216
- Entity types: 312

### Entities by Type
- Person (`person`): 215
- Journey Step (`journey_step`): 53
- Test Case (`test_case`): 48
- Screen State (`screen_state`): 36
- Assumption (`assumption`): 30
- Journey Phase (`journey_phase`): 28
- Journey Action (`journey_action`): 28
- Interaction Spec (`interaction_spec`): 28
- Metric (`metric`): 23
- Test Result (`test_result`): 23
- Capability (`capability`): 20
- Participant (`participant`): 19
- Regression Test (`regression_test`): 19
- Experiment Run (`experiment_run`): 18
- Alert Rule (`alert_rule`): 18
- Validated Learning (`learning`): 17
- Observation (`observation`): 17
- Survey Response (`survey_response`): 17
- Annotation (`annotation`): 17
- Vulnerability (`vulnerability`): 16
- Design Component (`design_component`): 15
- Screen (`screen`): 15
- Monitor (`monitor`): 15
- Research Question (`research_question`): 15
- Service Level Indicator (`service_level_indicator`): 15
- Error Budget (`error_budget`): 15
- Key Result (`key_result`): 14
- Product (`product`): 13
- Decision (`decision`): 13
- Experiment Plan (`experiment_plan`): 13
- Bounded Context (`bounded_context`): 13
- Insight (`insight`): 13
- Theme (`theme`): 13
- Feature
… (truncated)

See Also