coursestructure

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Definition = &mcp.Tool{
	Name:        "get_course_structure",
	Description: "Get full course tree: themes, longreads, exercises with deadlines",
}

Definition is the MCP tool definition.

Functions

func NewHandler

NewHandler creates the tool handler.

Types

type Input

type Input struct {
	Course string `json:"course"`
}

Input for the tool.

type LMSClient

type LMSClient interface {
	ResolveCourse(ctx context.Context, query string) (int, string, error)
	GetCourseOverview(ctx context.Context, courseID int) (*cuGw.CourseOverview, error)
}

LMSClient defines dependencies for this tool.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL