sync_status
Check the current state of the latest Moodle sync, whether it is still running or completed. Detect token expiration errors that require manual renewal instead of retrying.
Instructions
The state of the most recent sync, running or finished.
finished null means it is still going. A non-null error starting with
token_expired means the Moodle token must be renewed by hand; report the
command rather than retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |