Skip to content

[ADD] ai_tool_server_action: Create AI tools from Odoo UI#92

Open
angelmoya wants to merge 1 commit into
OCA:18.0from
angelmoya:18.0-ADD-ai_tool_server_action
Open

[ADD] ai_tool_server_action: Create AI tools from Odoo UI#92
angelmoya wants to merge 1 commit into
OCA:18.0from
angelmoya:18.0-ADD-ai_tool_server_action

Conversation

@angelmoya

Copy link
Copy Markdown
Member

This new module allows administrators to create and define AI tools using Server Actions directly from the Odoo UI, without writing Python code in custom modules.

Features:

• New Kind: Extends ai.tool with kind="server_action" .
• Direct UI Integration: Adds an "AI Tool Configuration" tab inside the ir.actions.server form view.
• Creation Wizard: Quick creation of the tool and schemas directly from the Server Action.
• Inline Editing: Read and update the description , input_schema_json and output_schema_json seamlessly from the Server Action view.
• Security Handled: Users with access to configure server actions can safely create and update the AI tool representations.

Usage:

  1. Create a Server Action.
  2. Go to the "AI Tool Configuration" tab and click "Create AI Tool".
  3. The LLM arguments arrive in env.context.get('tool_args') .
  4. Return results by assigning a dictionary to the action variable.

@OCA-git-bot OCA-git-bot added series:18.0 mod:ai_tool_server_action Module ai_tool_server_action labels Jul 12, 2026
@angelmoya
angelmoya force-pushed the 18.0-ADD-ai_tool_server_action branch from fa16549 to 2d7f24a Compare July 12, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:ai_tool_server_action Module ai_tool_server_action series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants