Enable or disable specific SWAIG functions at runtime. This lets you control which tools are available to the AI at different points in the conversation (e.g., enabling payment functions only after identity verification).
Array of toggle objects. Each object must contain:
"function" — name of the SWAIG function to toggle"active" — true to enable, false to disableFunctionResult — this, for chaining.