MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / execute

Method execute

atomic-repository/src/ai/tools.rs:842–852  ·  view source on GitHub ↗
(&self, call: &ToolCall)

Source from the content-addressed store, hash-verified

840 }
841
842 fn execute(&self, call: &ToolCall) -> Result<String, String> {
843 match call.name.as_str() {
844 "kg_search" => self.exec_kg_search(&call.arguments),
845 "kg_neighbors" => self.exec_kg_neighbors(&call.arguments),
846 "read_file" => self.exec_read_file(&call.arguments),
847 "code_search" => self.exec_code_search(&call.arguments),
848 "vault_read" => self.exec_vault_read(&call.arguments),
849 "list_entities" => self.exec_list_entities(&call.arguments),
850 other => Err(format!("unknown tool: {other}")),
851 }
852 }
853}
854
855impl<'a> RepoToolExecutor<'a> {

Calls 7

exec_kg_searchMethod · 0.80
exec_kg_neighborsMethod · 0.80
exec_read_fileMethod · 0.80
exec_code_searchMethod · 0.80
exec_vault_readMethod · 0.80
exec_list_entitiesMethod · 0.80
as_strMethod · 0.45