Skip to content

ai_assistant_execute_tool

github-actions[bot] edited this page Nov 27, 2026 · 3 revisions

Auto-generated Example

add_filter(
   'ai_assistant_execute_tool',
    function(
        $ret,
        $tool_name,
        $arguments,
        $permission,
        $conversation_id,
        $this
    ) {
        // Your code here.
        return $ret;
    },
    10,
    6
);

Parameters

  • $ret
  • $tool_name
  • $arguments
  • $permission
  • $conversation_id
  • $this

Files

apply_filters(
            'ai_assistant_execute_tool',
            null,
            $tool_name,
            $arguments,
            $permission,
            $conversation_id,
            $this
        )

← All Hooks

Clone this wiki locally