MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / DenyTool

Method DenyTool

agent/tools_executor.go:121–133  ·  view source on GitHub ↗
(tcID string)

Source from the content-addressed store, hash-verified

119 e.launch(tcID)
120 return true
121}
122
123func (e *StreamingToolExecutor) SetToolDecisionMapValue(mapKey, tcID, value string) {
124 if e == nil || mapKey == "" || tcID == "" {
125 return
126 }
127 e.mu.Lock()
128 defer e.mu.Unlock()
129 decisions, _ := e.Context[mapKey].(map[string]string)
130 if decisions == nil {
131 decisions = map[string]string{}
132 e.Context[mapKey] = decisions
133 }
134 decisions[tcID] = value
135}
136

Callers 1

ResolveMethod · 0.80

Calls 1

signalActivityMethod · 0.95

Tested by

no test coverage detected