create_directory_entry
Creates a directory entry in a Discord channel for a specified entity, with optional type, description, and primary category assignment.
Instructions
Create Directory Entry. [POST /channels/{channel_id}/directory-entry/{entity_id}]
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>",
"entity_id": "<entity_id>"
},
"name": "create_directory_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type | |
| entity_id | Yes | Entity ID | |
| channel_id | Yes | Channel ID (text, voice, thread, forum or DM channel) | |
| description | No | ||
| primary_category_id | No | primary category id |