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

Function register_program

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

Register the programmatic tool calling wrapper.

(registry: &Arc<ToolRegistry>)

Source from the content-addressed store, hash-verified

65
66/// Register the programmatic tool calling wrapper.
67pub fn register_program(registry: &Arc<ToolRegistry>) {
68 register_program_with_catalog(
69 registry,
70 crate::program::ProgramCatalog::with_builtin_programs(),
71 );
72}
73
74/// Register the programmatic tool calling wrapper with a custom catalog.
75pub fn register_program_with_catalog(

Callers 1

buildMethod · 0.85

Calls 1

Tested by

no test coverage detected