MCPcopy Index your code
hub / github.com/AI45Lab/Code / list

Method list

core/src/tools/registry.rs:132–135  ·  view source on GitHub ↗

List all registered tool names

(&self)

Source from the content-addressed store, hash-verified

130
131 /// List all registered tool names
132 pub fn list(&self) -> Vec<String> {
133 let tools = self.tools.read().unwrap();
134 tools.keys().cloned().collect()
135 }
136
137 /// Get the number of registered tools
138 pub fn len(&self) -> usize {

Callers 5

script_allowed_toolsFunction · 0.45
test_registry_listFunction · 0.45
runsMethod · 0.45
saveMethod · 0.45
explicit_agent_targetFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_registry_listFunction · 0.36