Define a BebeLM R tool
Arguments
- name
Tool name exposed to the tool dispatcher.
- fun
Function to run. It is called as
fun(args = ..., context = ..., call = ...)when it accepts those names, otherwise with progressively simpler fallbacks.- description
Optional human-readable description.
- schema
Optional schema/metadata object for prompts or adapters.