Skip to main content

open_public_course

Function open_public_course 

Source
async fn open_public_course<'a>(
    state: &'a McpState,
    conn: &mut PgConnection,
    user_id: Uuid,
    roles: &'a [Role],
    budget_bytes: usize,
    course_slug: &str,
) -> Result<Reading<'a>, ToolError>
Expand description

The course course_slug names, if the course site lets the caller open it.