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

Function register_batch

core/src/tools/builtin/mod.rs:62–64  ·  view source on GitHub ↗

Register the batch tool. Must be called after the registry is wrapped in Arc.

(registry: &Arc<ToolRegistry>)

Source from the content-addressed store, hash-verified

60
61/// Register the batch tool. Must be called after the registry is wrapped in Arc.
62pub fn register_batch(registry: &Arc<ToolRegistry>) {
63 registry.register_builtin(Arc::new(batch::BatchTool::new(Arc::clone(registry))));
64}
65
66/// Register the programmatic tool calling wrapper.
67pub fn register_program(registry: &Arc<ToolRegistry>) {

Callers 1

buildMethod · 0.85

Calls 1

register_builtinMethod · 0.45

Tested by

no test coverage detected