module documentation

Tool registry and execution dispatcher.

Function execute_tool Execute a named tool with the given arguments.
Function get_tool_list Return the list of available tools.
Function get_tool_map Return the mapping of tool names to their execution functions.
def execute_tool(view_manager, name, args=None, **kwargs):

Execute a named tool with the given arguments.

Parameters
view_manager:ViewManagerThe view manager for tool execution.
name:strThe tool name.
args:dict or NoneThe tool arguments. Defaults to None.
**kwargsExtra keyword arguments merged into the payload.
Returns
objectThe tool result.
def get_tool_list():

Return the list of available tools.

def get_tool_map():

Return the mapping of tool names to their execution functions.