load_selected_tools()

Register a subset of the built-in Tool Box tools.

Usage

Source

load_selected_tools(tool_names)

This provides a middle ground between loading every built-in tool with load_tool_box() and fetching them one at a time with get_builtin_tool(). Each requested tool is validated, registered in the global registry, and ready for use.

Parameters

tool_names: List[str]
Names of the built-in tools to load.

Raises

ValueError
If any name in tool_names does not match a known built-in tool.

Examples

import talk_box as tb

tb.load_selected_tools(["text_stats", "calculate", "convert_case"])