| Availability | 
                            
                             Odoo Online
                              Odoo.sh  On Premise | 
| Odoo Apps Dependencies | • 
                            CRM (crm) • Discuss (mail) • Calendar (calendar) • Contacts (contacts) • Invoicing (account) | 
| Community Apps Dependencies | Show | 
| Lines of code | 2769 | 
| Technical Name | 
                    llm_tool_demo | 
| License | LGPL-3 | 
| Website | https://github.com/apexive/odoo-llm | 
LLM Tool Demo Module
This module demonstrates how to create LLM tools using the @llm_tool decorator.
Features:
- 6 example tools showing different decorator patterns
- Read-only, destructive, and idempotent tool examples
- Type hints and manual schema examples
- Business logic integration (CRM, Sales, Notifications)
- Best practices for tool development
Examples Included:
- get_system_info - Simple read-only tool
- calculate_business_days - Utility tool with type hints
- create_lead_from_description - Business logic tool
- generate_sales_report - Complex reporting tool
- legacy_example - Manual schema for legacy code
- send_notification_to_user - User interaction tool
Use this module as a reference when creating your own LLM tools.
Please log in to comment on this module