Set channel position
discord_
Write
- Toolset
- Channels
channels - Discord permission
- Manage Channels
- Context cost
- 253 tokens, estimated1,013 bytes of definition, divided by 4
Set a channel's display order among the channels of its kind in its category. Text, announcement, forum and media channels sort together, voice and stage channels together, and categories among categories. A position equal to or above the number of channels in that group leaves the order unchanged. Use discord_ to change which category it belongs to. Requires the Manage Channels permission. Returns a confirmation.
Risk and annotations
Read-onlyreadOnlyHint | no | Can modify your server. |
|---|---|---|
DestructivedestructiveHint | no | Declared non-destructive. |
IdempotentidempotentHint | yes | Repeating the call with the same arguments has no additional effect. |
Open worldopenWorldHint | yes | Interacts with an external system: Discord. |
Annotations are hints the server declares. Clients use them to decide when to ask you before a call.
Parameters
| Parameter | Type | Rules | Description |
|---|---|---|---|
| channel_ | string | pattern ^\d{17,20}$ | ID (snowflake) of the channel to reposition. |
| positionrequired | integer | at least 0 | Zero-based position among the channels of its kind in the category (0 = top). |
Output
This tool declares no output schema. Its description says what it returns; this page shows no example rather than invent one.
Related tools
Named in its description
Also in Channels
-
Create channel, Write
discord_create_ channel -
Delete channel, Destructive
discord_delete_ channel -
Edit channel, Write
discord_edit_ channel -
Clone channel, Write
discord_clone_ channel -
Follow announcement channel, Write
discord_follow_ announcement_ channel -
Sync channel permissions, Write
discord_lock_ channel_ permissions
Raw definition (1,013 bytes)
{
"name": "discord_set_channel_position",
"description": "Set a channel's display order among the channels of its kind in its category. Text, announcement, forum and media channels sort together, voice and stage channels together, and categories among categories. A position equal to or above the number of channels in that group leaves the order unchanged. Use discord_move_channel to change which category it belongs to. Requires the Manage Channels permission. Returns a confirmation.",
"inputSchema": {
"type": "object",
"properties": {
"channel_id": {
"type": "string",
"pattern": "^\\d{17,20}$",
"description": "ID (snowflake) of the channel to reposition."
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Zero-based position among the channels of its kind in the category (0 = top)."
}
},
"required": [
"channel_id",
"position"
],
"additionalProperties": false
},
"annotations": {
"title": "Set channel position",
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}
}