MCPcopy
hub / github.com/github/github-mcp-server / SetPrompts

Method SetPrompts

pkg/inventory/builder.go:79–82  ·  view source on GitHub ↗

SetPrompts sets the prompts for the inventory. Returns self for chaining.

(prompts []ServerPrompt)

Source from the content-addressed store, hash-verified

77
78// SetPrompts sets the prompts for the inventory. Returns self for chaining.
79func (b *Builder) SetPrompts(prompts []ServerPrompt) *Builder {
80 b.prompts = prompts
81 return b
82}
83
84// WithDeprecatedAliases adds deprecated tool name aliases that map to canonical names.
85// Returns self for chaining.

Calls

no outgoing calls