> For the complete documentation index, see [llms.txt](https://ajuda.rnp.br/conferenciaweb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.rnp.br/conferenciaweb/manuais-de-uso-do-servico/manual-do-administrador/integracao-com-o-calendario-do-moodle.md). Agents can also search and read this documentation through its [MCP server](https://ajuda.rnp.br/conferenciaweb/~gitbook/mcp).

# Integração com o calendário do Moodle

**Descrição:**

Os agendamentos realizados via interface LTI também podem ser automaticamente refletidos no calendário do Moodle. A funcionalidade oferece suporte a **eventos únicos e recorrentes**, otimizando a comunicação de atividades para os alunos e professores.

<figure><img src="https://4071737184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7hXYp2PZ9COGqQOKpE%2Fuploads%2FdnyvdiOz9VfgkcxNbLmA%2Fcalendario%201.webp?alt=media&amp;token=cfa3f03b-1f0a-4416-99ea-84fcec7a1773" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4071737184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7hXYp2PZ9COGqQOKpE%2Fuploads%2F2Cl62OStatxBcNPwjSev%2Fimage%20(5).png?alt=media&amp;token=ad8d1d27-1325-4b5d-a55b-5a6b15e01d38" alt=""><figcaption></figcaption></figure>

**Pré-requisitos para ativação:**

* Moodle com Web Services habilitado;
* Acesso administrativo ao Moodle

Como ativar a integração:

#### No Moodle (admin)

* Acesse a lista de Serviços externos (Administração do site → Servidor → Web services → Serviços externos ), encontre o confweb-lti-external-service e clique em Funções.

<figure><img src="https://4071737184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7hXYp2PZ9COGqQOKpE%2Fuploads%2Ft4sh5eUMClEd2jSGrHgn%2Fcalendario%202.webp?alt=media&amp;token=ba5044f7-706a-4e82-bd7b-6c8505123fe0" alt=""><figcaption></figcaption></figure>

Na tela seguinte, clique em Adicionar funções.

<figure><img src="https://4071737184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7hXYp2PZ9COGqQOKpE%2Fuploads%2FVxirau0SwoH5wKNeOmAK%2FUntitled%20(10).png?alt=media&amp;token=6101e231-647e-4a08-aba3-91ae2a59dbb1" alt=""><figcaption></figcaption></figure>

* Adicione as 3 seguinte funções
  * `core_calendar_create_calendar_events`
  * `core_calendar_delete_calendar_events`
  * `core_webservice_get_site_info`

<figure><img src="https://4071737184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M7hXYp2PZ9COGqQOKpE%2Fuploads%2FZ0To7TunyiX1Ox5RnglK%2Fimage%20(6).png?alt=media&amp;token=f76f04e7-d2fe-48d3-8da0-23088d001a9d" alt=""><figcaption></figcaption></figure>

Observações;

* Essa integração não sincroniza eventos já existentes — apenas novos agendamentos realizados após a ativação.
* O aluno não precisa realizar nenhuma ação para visualizar os eventos no calendário do Moodle.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.rnp.br/conferenciaweb/manuais-de-uso-do-servico/manual-do-administrador/integracao-com-o-calendario-do-moodle.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
