MCPcopy Create free account
hub / github.com/GCWing/BitFun / reject

Method reject

src/crates/execution/agent-runtime/src/tool_confirmation.rs:104–106  ·  view source on GitHub ↗
(&self, tool_id: &str, reason: String)

Source from the content-addressed store, hash-verified

102 }
103
104 pub fn reject(&self, tool_id: &str, reason: String) -> bool {
105 self.send(tool_id, ToolConfirmationResponse::Rejected(reason))
106 }
107
108 pub fn cancel(&self, tool_id: &str) -> bool {
109 self.channels.remove(tool_id).is_some()

Callers 9

ConfigAPI.test.tsFile · 0.80
handleDisconnectMethod · 0.80
setupMessageHandlerMethod · 0.80
disconnectMethod · 0.80
cancelMethod · 0.80
runMethod · 0.80
reject_toolMethod · 0.80

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected