Moodle Plugins directory: AI Schema Export | Moodle.org
AI Schema Export
Administration tools ::: tool_aischema
Maintained by
Davison Ramos de Almeida Junior
A Moodle plugin that exports the complete database schema in formats optimized for AI agents.
Latest release:
33 downloads
Current versions available: 1
AI Schema Export for Moodle
Bridge the gap between Moodle's database structure and artificial intelligence.
AI Schema Export is a powerful developer tool that transforms Moodle's complex database schema into AI-optimized formats. Whether you're building custom AI agents, training RAG pipelines, or analyzing Moodle's architecture, this plugin makes your database structure instantly consumable by AI systems.
Why AI Schema Export?
Moodle's database contains hundreds of interconnected tables spanning core system, activity modules, and third-party plugins. Understanding this complexity is challenging for humans—and even harder for AI without structured, semantic representation. This plugin solves that problem by generating schema exports specifically designed for how AI processes information:
- Full-text search & RAG → Markdown format with natural language descriptions
- Programmatic access → Structured JSON for API consumption
- Visual reasoning → Mermaid ERD for relationship mapping
- Vector similarity → Flattened text optimized for embedding search
Key Features
- One-click export – Generate complete schema documentation instantly
- Four AI-native formats – Markdown, JSON, Mermaid ERD, and Consolidated text
- Smart filtering – Export All plugins, Core only, or Plugins only
- Automatic retention – Scheduled cleanup based on configurable retention period
- Zero personal data – Exports contain only structural metadata, no user content
Perfect for
- AI agent developers – Provide structured database context to LLM-powered tools
- Learning analytics – Feed schema into RAG pipelines for intelligent querying
- Plugin developers – Understand inter-plugin dependencies and table relationships
- System architects – Visualize Moodle's entire database graph
Useful links
Contributors
Davison Ramos de Almeida Junior (Lead maintainer)
Please login to view contributors details and/or to contact them
Comments