Skip to main content

declared_session_role

Function declared_session_role 

Source
pub fn declared_session_role() -> Option<String>
Expand description

The session role stated through the environment (LEAN_CTX_ROLE, then LEAN_CTX_AGENT_ROLE). Anything else an MCP session gets is assumed.