get_directory_counts
Retrieve the number of directory entries for a Discord channel by channel ID.
Instructions
Get Directory Counts. [GET /channels/{channel_id}/directory-entries/counts]
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": {
"channel_id": "<channel_id>"
},
"name": "get_directory_counts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel ID (text, voice, thread, forum or DM channel) |