Documentation
¶
Index ¶
- func FormatAssetCard(a *asset.Asset, marmotURL string) string
- func FormatAssetList(assets []*asset.Asset, total int, marmotURL string) string
- func FormatNextActions(actions map[string]string) string
- func FormatOwnershipResult(ownerName, ownerType string, assets []*asset.Asset, ...) string
- func FormatSearchSummary(total, count int, filters interface{}) string
- func FormatTermCard(term *glossary.GlossaryTerm, marmotURL string) string
- type DiscoverDataInput
- type FindOwnershipInput
- type GlossaryService
- type LookupTermInput
- type MetadataFilterInput
- type Owner
- type Server
- type Team
- type TeamService
- type ToolContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAssetCard ¶
FormatAssetCard creates a visually appealing card for an asset
func FormatAssetList ¶
FormatAssetList creates a compact list of assets
func FormatNextActions ¶
FormatNextActions formats suggested next actions
func FormatOwnershipResult ¶
func FormatOwnershipResult(ownerName, ownerType string, assets []*asset.Asset, terms []*glossary.GlossaryTerm, marmotURL string) string
FormatOwnershipResult creates a rich ownership display
func FormatSearchSummary ¶
FormatSearchSummary creates a summary with filters
func FormatTermCard ¶
func FormatTermCard(term *glossary.GlossaryTerm, marmotURL string) string
FormatTermCard creates a rich glossary term display
Types ¶
type DiscoverDataInput ¶
type DiscoverDataInput struct {
Query string `json:"query,omitempty"`
ID string `json:"id,omitempty"`
MRN string `json:"mrn,omitempty"`
Types []string `json:"types,omitempty"`
Providers []string `json:"providers,omitempty"`
Tags []string `json:"tags,omitempty"`
MetadataFilters []MetadataFilterInput `json:"metadata_filters,omitempty"`
Limit int `json:"limit,omitempty"`
Offset int `json:"offset,omitempty"`
}
type FindOwnershipInput ¶
type FindOwnershipInput struct {
AssetID string `json:"asset_id,omitempty"`
UserID string `json:"user_id,omitempty"`
Username string `json:"username,omitempty"`
TeamID string `json:"team_id,omitempty"`
TeamName string `json:"team_name,omitempty"`
IncludeAssets bool `json:"include_assets,omitempty"`
IncludeGlossaryTerms bool `json:"include_glossary_terms,omitempty"`
Limit int `json:"limit,omitempty"`
Offset int `json:"offset,omitempty"`
}
type GlossaryService ¶
type GlossaryService interface {
Get(ctx context.Context, id string) (*glossary.GlossaryTerm, error)
Search(ctx context.Context, filter glossary.SearchFilter) (*glossary.ListResult, error)
}
type LookupTermInput ¶
type MetadataFilterInput ¶
type TeamService ¶
type TeamService interface {
GetTeam(ctx context.Context, id string) (*Team, error)
GetTeamByName(ctx context.Context, name string) (*Team, error)
FindSimilarTeamNames(ctx context.Context, searchTerm string, limit int) ([]string, error)
ListAssetOwners(ctx context.Context, assetID string) ([]Owner, error)
}
type ToolContext ¶
type ToolContext struct {
// contains filtered or unexported fields
}
ToolContext holds services needed for MCP tools
Click to show internal directories.
Click to hide internal directories.