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

Method names

core/src/agent_api/direct_tools.rs:30–36  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

28 }
29
30 pub(super) fn names(&self) -> Vec<String> {
31 self.tool_executor
32 .definitions()
33 .into_iter()
34 .map(|tool| tool.name)
35 .collect()
36 }
37
38 pub(super) fn artifact(&self, artifact_uri: &str) -> Option<ToolArtifact> {
39 self.tool_executor.get_artifact(artifact_uri)

Callers 1

tool_namesMethod · 0.80

Calls 1

definitionsMethod · 0.45

Tested by

no test coverage detected