discord_status
Bot status. Shows whether the Token and Client Secret are saved in the server secrets (no values), whether the bot is connected to them, the commands and the addresses to paste into Discord. Owner only.Read only: changes nothing. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaGET /scripts/{script_id}/discord/env da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
discord_connect_from_secrets
Connect with server secrets. Connects the bot to the server secrets (DISCORD_BOT_TOKEN/DISCORD_CLIENT_SECRET), checks the token with Discord and registers the commands. Never receives or returns secrets. Owner only.Writes or changes script data. Destructive action: review in your AI client before confirming. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/discord/env/connect da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
discord_register_commands
Register commands. Registers the bot’s slash commands with Discord again. Owner only.Writes or changes script data. Destructive action: review in your AI client before confirming. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/discord/commands da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
discord_health
Check the Discord app. Checklist for the Discord app (token, public key, Interactions URL, Redirect, server install, app-added notice, commands). No secrets. Owner only.Read only: changes nothing. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaGET /scripts/{script_id}/discord/health da API do Scripts. The response includes text and structuredContent, with secrets removed.
Example
discord_fix_app
Fix the Discord app. Uses the Discord API to fix the server install (with the bot), the Interactions URL, the app-added notice and the commands. Owner only.Writes or changes script data. Destructive action: review in your AI client before confirming. Confirmation belongs to the AI client; scopes and blocks still apply.
Parameters
What it calls in the API
Por baixo, a ferramenta usaPOST /scripts/{script_id}/discord/app/fix da API do Scripts. The response includes text and structuredContent, with secrets removed.

