Usage explains the canonical invocation forms.
()
| 82 | |
| 83 | // Usage explains the canonical invocation forms. |
| 84 | func (*BuiltinKnowledgePlugin) Usage() string { |
| 85 | return `<tool_call name="@knowledge" args='{"cmd":"search","args":{"query":"how to configure the gateway"}}' /> |
| 86 | |
| 87 | Subcommands (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 | |
| 93 | Workflow: search to locate, get to read whole documents (paginate via the |
| 94 | returned next offset), toc when you need to see what exists.` |
| 95 | } |
| 96 | |
| 97 | // Version is semver; bumped when the surface changes. |
| 98 | func (*BuiltinKnowledgePlugin) Version() string { return "1.0.0" } |
no outgoing calls