resolve_discord_mentions
Converts plain-text Discord channel, role, and username mentions into valid clickable mention syntax for correct rendering and notifications.
Instructions
Automatically converts plain-text channel names (#general), role names (@Moderator), and usernames (@alice) in a message to valid clickable Discord mention syntax (<#id>, <@&id>, <@id>)
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": {
"text": "<text>"
},
"name": "resolve_discord_mentions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text containing plain-text mentions (e.g. "Check #rules-and-guidelines and ask @Moderator") | |
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) |