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

Method Usage

cli/plugins/builtin_graphview.go:144–160  ·  view source on GitHub ↗

Usage explains the canonical invocation.

()

Source from the content-addressed store, hash-verified

142
143// Usage explains the canonical invocation.
144func (*BuiltinGraphViewPlugin) Usage() string {
145 return `<tool_call name="@graphview" args='{"title":"Our chat","nodes":[{"id":"a","label":"Auth","kind":"topic"},{"id":"b","label":"OAuth","kind":"topic"}],"edges":[{"source":"a","target":"b"}]}' />
146
147Flags (flat JSON or {"cmd":"render","args":{...}} envelope):
148 source json (default) | knowledge | conversation
149 nodes [{id,label,kind?,summary?,weight?}] (source=json)
150 edges [{source,target,weight?}] (source=json)
151 file path to a JSON file holding {nodes,edges} instead of inline
152 title graph title shown in the toolbar
153 theme dark (default) | light
154 output path to write the .html (default: a temp file)
155 open true (default) | false — open the result in the browser
156
157Renders an interactive force-directed graph (drag/zoom/pan/search/filter) to a
158self-contained HTML file and opens it. To graph the conversation, pass the
159entities and relations you extracted as nodes/edges with source=json.`
160}
161
162// Version is semver.
163func (*BuiltinGraphViewPlugin) Version() string { return "1.0.0" }

Callers 1

Calls

no outgoing calls

Tested by 1