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

Function call_default_tool

src/daemon.rs:1237–1244  ·  view source on GitHub ↗
(
    handshake: &DaemonHandshake,
    tool_name: &str,
    arguments: serde_json::Value,
)

Source from the content-addressed store, hash-verified

1235}
1236
1237pub async fn call_default_tool(
1238 handshake: &DaemonHandshake,
1239 tool_name: &str,
1240 arguments: serde_json::Value,
1241) -> Result<serde_json::Value> {
1242 let socket_path = default_available_socket_path()?;
1243 call_tool(&socket_path, handshake, tool_name, arguments).await
1244}
1245
1246#[cfg(unix)]
1247async fn run_foreground_unix(socket_path: PathBuf) -> Result<()> {

Callers 1

callMethod · 0.85

Calls 2

call_toolFunction · 0.70

Tested by

no test coverage detected