Skip to content
Tools/Context & Session/get_session_context

get_session_context

Read session context: which skills ran, what was recommended, current focus area. Returns `recommendations_to_avoid`; the deduped list of recommendations already given this session. Pick your next recommendation NOT in that array (data-layer dedup, not prose).

Context & Sessionatomic (read-only)

Arguments

No arguments — this tool takes no input.

Returns

Shape
{ lens, skills_invoked, recommendations_given, recommendations_to_avoid, focus_area, custom, skills_count, last_skill, last_recommendation }

recommendations_to_avoid is the deduped list of every recommendation given this session; runners should filter their next recommendation against this array rather than re-deriving the dedup rule from prose.

Examples

Live call against the Notion example graph.

Output

{
  "lens": "product",
  "skills_invoked": [],
  "recommendations_given": [],
  "recommendations_to_avoid": [],
  "focus_area": null,
  "custom": {},
  "skills_count": 0,
  "last_skill": null,
  "last_recommendation": null
}

See Also