Write mode status
write_statusChecks write-mode status before changes: reports target instance, token presence, active state, and minutes left, so you know if enabling writes or setting a write token is required.
Instructions
Report write-mode status: which instance this server writes to, whether a write token is configured, whether write mode is active, and minutes remaining. Changes nothing and does not contact the forge. Call it before a write to learn whether enable_write_mode is needed, or whether no write token is configured, in which case enabling cannot help and the user has to set FORGEJO_TOKEN_WRITE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||