MCPcopy Create free account
hub / github.com/compozy/agh / bind

Method bind

internal/cli/tool_operator.go:338–342  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

336}
337
338func (f *toolScopeFlags) bind(cmd *cobra.Command) {
339 cmd.Flags().StringVar(&f.workspaceID, "workspace", "", "Workspace id for scoped diagnostics")
340 cmd.Flags().StringVar(&f.sessionID, "session", "", "Session id for scoped diagnostics")
341 cmd.Flags().StringVar(&f.agentName, "agent", "", "Agent name for scoped diagnostics")
342}
343
344func (f toolScopeFlags) query() ToolQuery {
345 return ToolQuery{

Callers 11

newToolListCommandFunction · 0.95
newToolSearchCommandFunction · 0.95
newToolInfoCommandFunction · 0.95
newToolsetsListCommandFunction · 0.95
newToolsetsInfoCommandFunction · 0.95
newToolApproveCommandFunction · 0.45
newToolInvokeCommandFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected