Skip to content

ai_assistant_default_enabled_tools

github-actions[bot] edited this page Nov 11, 2026 · 6 revisions

Filters the default enabled tools for new installations.

High-risk extension tools should usually register metadata without enabling themselves by default.

Auto-generated Example

add_filter(
   'ai_assistant_default_enabled_tools',
    function( array<int,string> $tools ) {
        // Your code here.
        return $tools;
    }
);

Parameters

  • array<int,string> $tools Default enabled tool names.

Files

apply_filters('ai_assistant_default_enabled_tools', $tools)

← All Hooks

Clone this wiki locally