| 12345678910111213141516171819202122232425262728293031323334 |
- """工具层:注册表与内置工具。
- ``registry`` 是工具的唯一事实源;业务工具在 ``tools/`` 下新增模块并用
- 用 ``define_tool`` 描述工具,再由 ``extensions/<业务>/extension.py`` 的
- ``setup(registry)`` 统一注册。
- """
- from tools.registry import (
- describe,
- get_all_tool_functions,
- get_group_map,
- get_label,
- get_spec,
- get_tool_names,
- load_builtin_tools,
- register,
- register_external,
- source,
- sourced,
- )
- __all__ = [
- "describe",
- "get_all_tool_functions",
- "get_group_map",
- "get_label",
- "get_spec",
- "get_tool_names",
- "load_builtin_tools",
- "register",
- "register_external",
- "source",
- "sourced",
- ]
|