List channels
list_channelsLists the channels of a Discord server the app's bot is in. type is Discord's channel type, like 0 for text and 4 for categories.
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": {
"app_id": "<app_id>",
"server_id": "<server_id>"
},
"name": "list_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The ID of the app, from list_apps. | |
| server_id | Yes | The ID of the server, from list_servers. |