MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / call

Method call

src/tool_command.rs:193–203  ·  view source on GitHub ↗
(&self, tool_name: &str, tool_args: Value)

Source from the content-addressed store, hash-verified

191 }
192
193 async fn call(&self, tool_name: &str, tool_args: Value) -> Result<Value> {
194 let handshake = self.handshake()?;
195 #[cfg(unix)]
196 {
197 call_default_tool(&handshake, tool_name, tool_args).await
198 }
199 #[cfg(not(unix))]
200 {
201 call_in_process_tool(&handshake, tool_name, tool_args).await
202 }
203 }
204
205 async fn fallback(&self, tool_name: &str, tool_args: Value) -> Result<Option<Value>> {
206 if !self.allow_profile_scoped_fallback {

Callers 10

dispatch_daemon_toolFunction · 0.45
fetch_worldwide_totalFunction · 0.45
fetch_country_flagsFunction · 0.45
fetch_asset_urlFunction · 0.45
download_and_extractFunction · 0.45
refresh_pricingFunction · 0.45
refresh_pricing_blockingFunction · 0.45
fetch_latest_versionFunction · 0.45

Calls 3

call_default_toolFunction · 0.85
call_in_process_toolFunction · 0.85
handshakeMethod · 0.80

Tested by

no test coverage detected