# Goldnat for Moodle

Connect Claude, ChatGPT, and Gemini to your Moodle LMS. Let AI agents browse courses, check grades, manage enrollments, and retrieve learning data — all with OAuth 2.0 security.

- Platform: Moodle
- Edition: free
- Web page: https://plugins.goldnat.ai/moodle/moodle-plugin
- Installation guide: https://plugins.goldnat.ai/moodle/guide

## What you can ask the agent

- "What courses am I enrolled in?" — The agent lists your courses.
- "What assignments are due this week?" — It reads the assignments and their due dates.
- "What are my grades in Biology?" — It reads your grades.
- "Find the forum post about the exam format." — It searches the course forums.
- "Download the lecture slides from week 3." — It finds the course file and gives you the link.

## Install and connect

1. Download Goldnat for Moodle from goldnat.ai and upload it in your Moodle admin panel.
2. Connect your AI agent: in goldnat.ai (or another compatible agent) add your site address. You are sent to your own Moodle site to log in and approve what the agent may do (read only, or read and write).
3. Ask the agent in plain language. It calls the plugin on your site as you, and shows you the result.
4. Full installation guide with screenshots: https://plugins.goldnat.ai/moodle/guide

## What the agent can and cannot do

- The agent acts as the Moodle user who connected it. It can never see or change more than that user can.
- You approve the access level when you connect (read only, or read and write), and you can revoke the connection at any time from the plugin page in your admin panel.
- This plugin is read-only: the agent can look things up and summarise, but cannot create, change or delete anything.
- Your content stays on your site. The plugin answers the agent's requests directly; it does not copy your site anywhere else.

## Tools

Each tool is called by the agent by name. "write" tools need write access approved at connection.

- `moodle.downloadCourseFile` (read) — Download a specific file from a course. Returns a signed URL or the file contents.
- `moodle.getAssignments` (read) — Returns the list of assignments in a given course.
- `moodle.getCourse` (read) — Returns full details of a single course by course ID.
- `moodle.getCourseFiles` (read) — List the files available in a course, with names, sizes, types and download links.
- `moodle.getCourseModules` (read) — List the activities and resources in a course, with their type, section and completion settings.
- `moodle.getCourses` (read) — Returns the list of courses the user is enrolled in, with name, code, and ID.
- `moodle.getEnrollments` (read) — Returns the list of users enrolled in a course and their roles.
- `moodle.getForumDiscussions` (read) — List discussions in a course forum, with author, reply count and last activity.
- `moodle.getForumPosts` (read) — Get the posts within a forum discussion, including author and timestamps.
- `moodle.getGrades` (read) — Returns the user's grades on the course grade items.
- `moodle.getModuleContent` (read) — Get module content.
- `moodle.getUserProfile` (read) — Returns the authenticated user's profile (name, email, details).
- `moodle.searchForumPosts` (read) — Search forum posts.

## Frequently asked questions

**Which AI agents can I use?**

Our own agent at goldnat.ai, and other AI agents that support the Servio protocol. The list of compatible clients is on this page.

**Can the AI see or change things I can't?**

No. It works as the Moodle user who connected it, with exactly that user's permissions. Connect it with an account that has only the access you want it to have.

**Will it change things without asking?**

No. This plugin is read-only.

**How do I disconnect an agent?**

Revoke its connection from the plugin page in your admin panel. The agent loses access immediately.
