Tools and add-ons

  • kimaai_tool_call_allowed

    Blocks a tool call before the tool runs, with a message for the AI model, or audits every tool call.

  • kimaai_tools_registry

    Adds a tool to KimaAI’s catalogue of tools, which the “Allowed functions” setting lists and Pro runs through the tool’s…

  • kimaai_stream_tool_call

    Runs a tool that no kimaai_chatbot_tool_call callback answered; deprecated for kimaai_chatbot_tool_call.

  • kimaai_register_addons

    Registers an add-on, an object of your plugin that KimaAI starts once its own services are ready.

  • kimaai_loaded

    Fires once KimaAI and its add-ons are loaded, for code that needs KimaAI active.

  • kimaai_chatbot_tool_call

    Runs a tool when the AI model calls it; the callback that knows the tool returns its result.

  • kimaai_chatbot_max_tool_rounds

    Changes how many rounds of tool calls one answer may take, 6 by default.

  • kimaai_chatbot_allowed_tools

    Changes the names of the tools a chatbot request may offer, to switch a tool on or off by code.

  • kimaai_chatbot_tools_registry

    Defines the tools one chatbot request offers the AI model, for example a tool only on product pages.