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

Method artifact

core/src/agent_api/direct_tools.rs:38–40  ·  view source on GitHub ↗
(&self, artifact_uri: &str)

Source from the content-addressed store, hash-verified

36 }
37
38 pub(super) fn artifact(&self, artifact_uri: &str) -> Option<ToolArtifact> {
39 self.tool_executor.get_artifact(artifact_uri)
40 }
41
42 pub(super) async fn read_file(&self, path: &str) -> Result<String> {
43 let args = serde_json::json!({ "file_path": path });

Callers 1

get_artifactMethod · 0.80

Calls 1

get_artifactMethod · 0.45

Tested by

no test coverage detected