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

Method SetTools

pkg/inventory/builder.go:67–70  ·  view source on GitHub ↗

SetTools sets the tools for the inventory. Returns self for chaining.

(tools []ServerTool)

Source from the content-addressed store, hash-verified

65
66// SetTools sets the tools for the inventory. Returns self for chaining.
67func (b *Builder) SetTools(tools []ServerTool) *Builder {
68 b.tools = tools
69 return b
70}
71
72// SetResources sets the resource templates for the inventory. Returns self for chaining.
73func (b *Builder) SetResources(resources []ServerResourceTemplate) *Builder {

Calls

no outgoing calls