Add a list item
add_list_itemUse this when the user wants a new item in an AiGuild list (ticket type, saved reply, ticket AI note, custom command…); fields from get_system_settings. Do not use for changing an item; use update_list_item. 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>",
"list": "<list>",
"values": "<values>"
},
"name": "add_list_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | The list. | |
| values | Yes | { field: value }, the name field included. | |
| guild_id | Yes | Discord server ID, as returned by list_my_servers. |