Undo a change
undo_changeUse this when the user wants a change made with AiGuild undone, within 24 hours: one change (change_id from get_recent_changes), a whole card (card_id), or their latest change. Free. Server administrators can undo any change on the server; other staff only their own. Undoing a change that needed confirmation on aiguild.me is only done there. Do not use for final changes such as a giveaway draw or an XP reset.
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>"
},
"name": "undo_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | No | A card ID, to undo the whole card. | |
| guild_id | Yes | Discord server ID, as returned by list_my_servers. | |
| change_id | No | The change ID from get_recent_changes. |