MCPcopy Create free account
hub / github.com/AI45Lab/Code / execute_raw

Method execute_raw

core/src/tools/registry.rs:244–251  ·  view source on GitHub ↗

Execute a tool and return raw output using the registry's default context

(
        &self,
        name: &str,
        args: &serde_json::Value,
    )

Source from the content-addressed store, hash-verified

242
243 /// Execute a tool and return raw output using the registry's default context
244 pub async fn execute_raw(
245 &self,
246 name: &str,
247 args: &serde_json::Value,
248 ) -> Result<Option<ToolOutput>> {
249 let ctx = self.context();
250 self.execute_raw_with_context(name, args, &ctx).await
251 }
252
253 /// Execute a tool and return raw output with an external context
254 pub async fn execute_raw_with_context(

Calls 2

contextMethod · 0.80