Post a message
post_messageUse this when the user wants AiGuild to post a message in a channel, optionally mentioning a role, @everyone or @here (a card mentioning @everyone, @here or a role with more than 50 members must then be confirmed on aiguild.me). Do not use for role buttons; use post_role_buttons. Adds the change to the pending card for this server; nothing changes on Discord until apply_card.
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": {
"guild_id": "<guild_id>",
"channel": "<channel>",
"text": "<text>"
},
"name": "post_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The full message, 1900 characters at most. | |
| channel | Yes | The channel name. | |
| mention | No | none (default), everyone, here, or a role name. | |
| guild_id | Yes | Discord server ID, as returned by list_my_servers. | |
| allow_repeat | No | Post it even if the same message was already posted in this channel in the last 30 minutes. Only when the user asked for it twice. |