
Register Functions from an R Package as Tools
Source:R/tool-builder.R
hal_register_package_tools.RdDiscovers exported functions from a package and registers them as LLM-callable tools.
Examples
if (FALSE) { # \dontrun{
# expose a few dplyr verbs to the model
hal_register_package_tools("dplyr",
fns = c("filter", "select", "arrange"), prefix = "dplyr_"
)
} # }