add_tool_toggle


Description:

public void add_tool_toggle (string tool_name, string icon_name, string tooltip_text)

Create and pack a tool toggle from icon + tooltip.

Parameters:

tool_name

stable id (OLLMchat.Tool.BaseTool.name)

icon_name

symbolic icon for the toggle

tooltip_text

tooltip for the toggle