discord_mod_warn_member
Warn a Discord member by sending a direct message with the reason, with optional logging to a moderation channel.
Instructions
Warn a member by sending them a DM with the warning reason. Optionally logs to a mod channel.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"guildId": "<guildId>",
"userId": "<userId>",
"reason": "<reason>"
},
"name": "discord_mod_warn_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Warning reason | |
| userId | Yes | The ID of the user to warn | |
| guildId | Yes | The ID of the server | |
| channelId | No | Optional mod log channel ID to post the warning |