add_bot
Register a Discord bot without sending its token through chat: use a private input box or a one-time local browser page to paste, verify, and save the token for immediate use.
Instructions
Add a Discord bot (several are supported) without the token ever going through the chat. method "box" (default) asks the app to show a private input box; if the app cannot, or the box is closed, it opens a one-time page on this computer (a http://127.0.0.1 link) where the user pastes the token in their browser. The token is checked and saved, and the bot can be used at once. Call it after the user created the bot (setup_check has the steps).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Name to remember the bot by; default: the bot's username | |
| method | No | browser = skip the box and give the page link straight away | box |
| dry_run | No | Show the requests that would be made without changing anything |