AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.engine.tools.registry Namespace Reference

Functions

 register (str name, dict[str, Any]|None schema=None)
Any dispatch (str name, dict[str, Any] args, dict[str, Any] ctx)
list[str] list_tools ()
list[dict[str, Any]] get_tool_schemas ()
None _load_stubs ()

Variables

dict TOOL_REGISTRY = {}
list _TOOL_SCHEMAS = []

Function Documentation

◆ _load_stubs()

None _load_stubs ( )
protected

Definition at line 52 of file registry.py.

References _load_stubs().

Referenced by _load_stubs(), and dispatch().

◆ dispatch()

Any dispatch ( str name,
dict[str, Any] args,
dict[str, Any] ctx )

Definition at line 27 of file registry.py.

References _load_stubs().

◆ get_tool_schemas()

list[dict[str, Any]] get_tool_schemas ( )

Definition at line 48 of file registry.py.

◆ list_tools()

list[str] list_tools ( )

Definition at line 44 of file registry.py.

◆ register()

register ( str name,
dict[str, Any] | None schema = None )

Definition at line 18 of file registry.py.

Variable Documentation

◆ _TOOL_SCHEMAS

list aquin.engine.tools.registry._TOOL_SCHEMAS = []
protected

Definition at line 15 of file registry.py.

◆ TOOL_REGISTRY

dict aquin.engine.tools.registry.TOOL_REGISTRY = {}

Definition at line 14 of file registry.py.