toggle_active_tool


Description:

public void toggle_active_tool (string tool_name, bool active)

Set a tool toggle active without the caller holding the button.

Used when a tool emits OLLMchat.Tool.UiWidgets.show_view.

Parameters:

tool_name

OLLMchat.Tool.BaseTool.name

active

desired toggle state