format_discord_mention
Formats Discord Markdown mentions and shortcuts for users, roles, channels, timestamps, custom emojis, and slash commands from IDs so messages render correctly.
Instructions
Generate proper Discord Markdown mentions and shortcuts for users, roles, channels, timestamps, custom emojis, and slash commands
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Target ID (User ID, Role ID, Channel ID, Unix Timestamp, Emoji ID, or Command ID) | |
| name | No | Name of emoji or slash command (required for emoji/slash_command) | |
| type | Yes | Type of mention/shortcut to format | |
| style | No | Timestamp style (t=short time, T=long time, d=short date, D=long date, f=short datetime, F=long datetime, R=relative time) OR special tab name | |
| animated | No | Whether custom emoji is animated (default: false) |