MCPcopy Create free account
hub / github.com/diillson/chatcli / Usage

Method Usage

cli/plugins/builtin_knowledge.go:84–95  ·  view source on GitHub ↗

Usage explains the canonical invocation forms.

()

Source from the content-addressed store, hash-verified

82
83// Usage explains the canonical invocation forms.
84func (*BuiltinKnowledgePlugin) Usage() string {
85 return `<tool_call name="@knowledge" args='{"cmd":"search","args":{"query":"how to configure the gateway"}}' />
86
87Subcommands (cmd + args):
88 search {query, top_k?:1-30, kb?:"<base name>"}
89 get {source:"docs/install.md", offset?:0, kb?}
90 toc {prefix?:"docs/", kb?}
91 list {}
92
93Workflow: search to locate, get to read whole documents (paginate via the
94returned next offset), toc when you need to see what exists.`
95}
96
97// Version is semver; bumped when the surface changes.
98func (*BuiltinKnowledgePlugin) Version() string { return "1.0.0" }

Callers 1

Calls

no outgoing calls

Tested by 1