__init__.py
1 """ 2 This __init__.py file ensures that all built-in tool modules are imported 3 when the 'tools' package is loaded. This is crucial for the declarative 4 tool registration pattern, as it triggers the `tool_registry.register()` 5 calls within each tool module. 6 """ 7 8 from . import builtin_artifact_tools 9 from . import builtin_data_analysis_tools 10 from . import general_agent_tools 11 from . import audio_tools 12 from . import image_tools 13 from . import web_tools 14 from . import time_tools 15 from . import test_tools 16 from . import deep_research_tools 17 from . import web_search_tools 18 from . import index_search_tools 19 from . import dynamic_tool 20 21 # Export ToolResult abstraction for tool authors 22 from .tool_result import ToolResult, DataObject, DataDisposition 23 24 # Export artifact types for tool authors 25 from .artifact_types import ( 26 Artifact, 27 ArtifactTypeInfo, 28 get_artifact_info, 29 ) 30 31 __all__ = [ 32 "ToolResult", 33 "DataObject", 34 "DataDisposition", 35 "Artifact", 36 "ArtifactTypeInfo", 37 "get_artifact_info", 38 ]